Fixed bugs with task runner classes

Fixed strict errors in foreground and background task classes.
This commit is contained in:
2010-08-30 20:37:52 +01:00
parent de04fb5978
commit 4e59b22f3a
9 changed files with 114 additions and 22 deletions

View File

@@ -59,7 +59,9 @@ class RippingCluster_ForegroundTask {
$tx[] = $pipes[self::PIPE_STDIN];
}
stream_select($rx, $tx, $ex = null, null, null); // Block til r/w possible
$ex = array();
stream_select($rx, $tx, $ex, null, null); // Block til r/w possible
if (!empty($tx)) {
$txRet = fwrite($pipes[self::PIPE_STDIN], substr($stdin, $txOff, 8192));
if ($txRet !== false) {