From: Alan Date: Thu, 12 Oct 2023 08:03:46 +0000 (+0800) Subject: cant termintate after close X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=60dec7d4bc1bbbdf3d4436ba51b32cdfaf8f541f cant termintate after close --- diff --git a/Notify.php b/Notify.php index 19413eb3..4f645af3 100644 --- a/Notify.php +++ b/Notify.php @@ -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");