|
@@ -91,8 +91,12 @@ class TaskLoggerService implements ConsumerInterface
|
|
*/
|
|
*/
|
|
public function runProcess($filename)
|
|
public function runProcess($filename)
|
|
{
|
|
{
|
|
|
|
+ $predir = getcwd();
|
|
|
|
+ chdir(dirname($filename));
|
|
$process = new Process($filename);
|
|
$process = new Process($filename);
|
|
$process->run();
|
|
$process->run();
|
|
|
|
+ chdir($predir);
|
|
|
|
+
|
|
|
|
|
|
return array(
|
|
return array(
|
|
'output' => $process->getOutput(),
|
|
'output' => $process->getOutput(),
|