diff options
-rw-r--r-- | ext/standard/tests/streams/bug78883.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/streams/bug78883.phpt b/ext/standard/tests/streams/bug78883.phpt index 469a422d36..ed040e0044 100644 --- a/ext/standard/tests/streams/bug78883.phpt +++ b/ext/standard/tests/streams/bug78883.phpt @@ -22,7 +22,7 @@ $bug_is_present = !proc_get_status($proc)['running']; if (!$bug_is_present) {
// if the bug is not present, it will hang waiting for stdin,
// thus cmd is still running and we should kill it
- shell_exec("taskkill /T /F /PID {$pid}");
+ shell_exec("taskkill /T /F /PID {$pid} 2>nul");
}
fclose($pipes[0]);
fclose($pipes[1]);
|