Skip to content

Commit f6c9319

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Silence potential taskkill error messages
2 parents 55618ff + bf629ba commit f6c9319

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)