projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf820b6
)
try elswhere
author
Alan
<alan@roojs.com>
Thu, 12 Oct 2023 07:56:06 +0000
(15:56 +0800)
committer
Alan
<alan@roojs.com>
Thu, 12 Oct 2023 07:56:06 +0000
(15:56 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
5ca067b
..
7837e5b
100644
(file)
--- 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;