cant termintate after close
authorAlan <alan@roojs.com>
Thu, 12 Oct 2023 08:03:46 +0000 (16:03 +0800)
committerAlan <alan@roojs.com>
Thu, 12 Oct 2023 08:03:46 +0000 (16:03 +0800)
Notify.php

index 19413eb..4f645af 100644 (file)
@@ -524,8 +524,7 @@ class Pman_Core_Notify extends Pman
             //fclose($p['pipes'][1]);
             
             proc_close($p['proc']);
-            proc_terminate($p['proc'], 9);
-            sleep(1);
+             sleep(1);
             clearstatcache();
             if (file_exists('/proc/'. $p['pid'])) {
                 $this->logecho("proc PID={$p['pid']} still here - trying to wait");