diff --git a/lib/RippingCluster/BackgroundTask.class.php b/lib/RippingCluster/BackgroundTask.class.php index dc4cb45..54b3a7f 100644 --- a/lib/RippingCluster/BackgroundTask.class.php +++ b/lib/RippingCluster/BackgroundTask.class.php @@ -8,10 +8,10 @@ class RippingCluster_BackgroundTask { public static function run($command) { $pipes = array(); - $pid = proc_open($command . ' &', array(), $pipes); + $pid = proc_open($command . ' &', array(), $pipes, getcwd()); proc_close($pid); } }; -?> \ No newline at end of file +?>