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

@@ -6,7 +6,7 @@ class RippingCluster_BackgroundTask {
}
public function run($command) {
public static function run($command) {
$pipes = array();
$pid = proc_open($command . ' &', array(), $pipes);
proc_close($pid);