From bf629baa9c9d2a79e5fd5649977c7c59ecc113b5 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Thu, 9 Jan 2020 18:58:17 +0100 Subject: [PATCH] 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. --- ext/standard/tests/streams/bug78883.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- 2.50.1