From 7d2bb00b2592c3943b7a35259208b0269a2dcb7d Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Wed, 19 Jul 2017 09:27:18 +0200 Subject: [PATCH] Add the actual command on Windows --- lib/Process.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Process.php b/lib/Process.php index 0837727..aeaa5d7 100644 --- a/lib/Process.php +++ b/lib/Process.php @@ -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;' .