From: Nuno Lopes Date: Tue, 9 Aug 2011 21:53:44 +0000 (+0000) Subject: terminate timeouting processes with SIGKILL (9) X-Git-Tag: php-5.3.7RC5~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f54a74d605f716ee9b71b706eb3470dc7973bc8;p=php terminate timeouting processes with SIGKILL (9) --- diff --git a/run-tests.php b/run-tests.php index bc5f99bc09..4bd1546118 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1080,7 +1080,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);