mirror of
https://github.com/danog/process.git
synced 2024-12-13 09:37:29 +01:00
Add the actual command on Windows
This commit is contained in:
parent
5aa6ae7e02
commit
7d2bb00b25
@ -161,6 +161,8 @@ class Process {
|
|||||||
if ($this->cwd !== null) {
|
if ($this->cwd !== null) {
|
||||||
$command .= ' "--cwd=' . \rtrim($this->cwd, '\\') . '"';
|
$command .= ' "--cwd=' . \rtrim($this->cwd, '\\') . '"';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$command .= " {$this->command}";
|
||||||
} else {
|
} else {
|
||||||
$command = \sprintf(
|
$command = \sprintf(
|
||||||
'{ (%s) <&3 3<&- 3>/dev/null & } 3<&0;' .
|
'{ (%s) <&3 3<&- 3>/dev/null & } 3<&0;' .
|
||||||
|
Loading…
Reference in New Issue
Block a user