diff --git a/src/TamerLib/Objects/WorkerInstance.php b/src/TamerLib/Objects/WorkerInstance.php index f9e6583..31ab336 100644 --- a/src/TamerLib/Objects/WorkerInstance.php +++ b/src/TamerLib/Objects/WorkerInstance.php @@ -104,6 +104,7 @@ $php_bin = (new PhpExecutableFinder())->find(); $process = new Process(array_merge([$php_bin, $this->path], $pass_args)); + $process->setWorkingDirectory(getcwd()); $process->setEnv($this->configuration->toEnvironment()); try