Skip to content

Commit bf629ba

Browse files
committed
Silence potential taskkill error messages
That test is still intermittently failing, because failure to kill the child process is reported. Therefore we silence these error messages.
1 parent cfa9e5e commit bf629ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/tests/streams/bug78883.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $bug_is_present = !proc_get_status($proc)['running'];
2222
if (!$bug_is_present) {
2323
// if the bug is not present, it will hang waiting for stdin,
2424
// thus cmd is still running and we should kill it
25-
shell_exec("taskkill /T /F /PID {$pid}");
25+
shell_exec("taskkill /T /F /PID {$pid} 2>nul");
2626
}
2727
fclose($pipes[0]);
2828
fclose($pipes[1]);

0 commit comments

Comments
 (0)