Notify.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 14 Feb 2012 06:19:32 +0000 (14:19 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 14 Feb 2012 06:19:32 +0000 (14:19 +0800)
Notify.php

index 73c4805..13c3928 100644 (file)
@@ -241,7 +241,7 @@ class Pman_Core_Notify extends Pman
                 echo "RUNTIME ({$p['pid']}): $runtime\n";
                 if ($runtime > $maxruntime) {
                     
-                    proc_terminate($p['proc']);
+                    proc_terminate($p['proc'], 9);
                     echo "TERMINATING: ({$p['pid']}) " . $p['cmd'] . " : " . file_get_contents($p['out']) . "\n";
                     //fclose($p['pipes'][1]);
                     fclose($p['pipes'][0]);