diff options
author | Nuno Lopes <nlopess@php.net> | 2011-08-09 21:53:44 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2011-08-09 21:53:44 +0000 |
commit | 58da15422cb2f4cc9d70742e43d4840adff48d1f (patch) | |
tree | b9c183b839af54bf42594481b642eb1e72daf5f8 | |
parent | 0c83631303de37ff5c6a7baaebe7f3d37046dfdf (diff) | |
download | php-git-58da15422cb2f4cc9d70742e43d4840adff48d1f.tar.gz |
terminate timeouting processes with SIGKILL (9)
-rwxr-xr-x | run-tests.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index a615efccdc..ddd1f5f494 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1082,7 +1082,7 @@ function system_with_timeout($commandline, $env = null, $stdin = null) } else if ($n === 0) { /* timed out */ $data .= b"\n ** ERROR: process timed out **\n"; - proc_terminate($proc); + proc_terminate($proc, 9); return $data; } else if ($n > 0) { $line = (binary) fread($pipes[1], 8192); |