From: Alan Date: Thu, 12 Oct 2023 07:56:06 +0000 (+0800) Subject: try elswhere X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=e8a485e7a7999ae2e21458ea4ce16622e73761ef try elswhere --- diff --git a/Notify.php b/Notify.php index 5ca067b3..7837e5b8 100644 --- a/Notify.php +++ b/Notify.php @@ -476,7 +476,6 @@ class Pman_Core_Notify extends Pman //echo "CHECK PID: " . $p['pid'] . "\n"; - pcntl_waitpid($p['proc'], $status, WNOHANG); $info = proc_get_status($p['proc']); //var_dump($info); @@ -527,7 +526,8 @@ class Pman_Core_Notify extends Pman proc_close($p['proc']); proc_terminate($p['proc'], 9); - + pcntl_waitpid($p['proc'], $status, WNOHANG); + //clearstatcache(); //if (file_exists('/proc/'.$p['pid'])) { // $pool[] = $p;