Pass on cwd to the sub-process in \TamerLib\Objects > WorkerInstance > start()
This commit is contained in:
parent
13ad2b0ef8
commit
13cade66cc
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue