diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-01-09 19:03:43 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-01-09 19:03:43 +0100 |
commit | f6c9319bece4aedf72c294e576161f596e2c047f (patch) | |
tree | bd5eb53881da18ce8ceb997dff783cb957509eb7 /ext/standard/tests | |
parent | 55618ff118ab18c1a8862404dd72c54f25cbedf7 (diff) | |
parent | bf629baa9c9d2a79e5fd5649977c7c59ecc113b5 (diff) | |
download | php-git-f6c9319bece4aedf72c294e576161f596e2c047f.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Silence potential taskkill error messages
Diffstat (limited to 'ext/standard/tests')
-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]);
|