Skip to content

Commit

Permalink
terminate timeouting processes with SIGKILL (9)
Browse files Browse the repository at this point in the history
  • Loading branch information
nunoplopes committed Aug 9, 2011
1 parent e34dc6c commit 8f54a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8f54a74

Please sign in to comment.