mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-11 19:05:35 +08:00
Fix unpassed env for windows cmd
This commit is contained in:
@@ -27,7 +27,7 @@ class WindowsCmd extends Shell
|
|||||||
$this->last_cmd = $cmd = $this->getExecString($cmd);
|
$this->last_cmd = $cmd = $this->getExecString($cmd);
|
||||||
// echo $cmd . PHP_EOL;
|
// echo $cmd . PHP_EOL;
|
||||||
|
|
||||||
$this->passthru($cmd, $this->console_putput, $original_command, cwd: $this->cd);
|
$this->passthru($cmd, $this->console_putput, $original_command, cwd: $this->cd, env: $this->env);
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user