1
0
mirror of https://github.com/danog/process.git synced 2024-12-12 09:09:44 +01:00

Add the actual command on Windows

This commit is contained in:
Niklas Keller 2017-07-19 09:27:18 +02:00
parent 5aa6ae7e02
commit 7d2bb00b25

View File

@ -161,6 +161,8 @@ class Process {
if ($this->cwd !== null) {
$command .= ' "--cwd=' . \rtrim($this->cwd, '\\') . '"';
}
$command .= " {$this->command}";
} else {
$command = \sprintf(
'{ (%s) <&3 3<&- 3>/dev/null & } 3<&0;' .