From 3adea33afe2c0d676ac40dd6abb20518526ad0af Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 5 Nov 2021 00:06:41 +0800 Subject: [PATCH] 111 --- kiri-engine/FileListen/FileChangeCustomProcess.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index 1d0cb784..d68f17df 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -107,9 +107,8 @@ class FileChangeCustomProcess extends Command while (Process::kill($content,0)) { Coroutine::sleep(0.01); } - proc_close($this->source); } - $this->source = proc_open("php " . APP_PATH . "kiri.php", [], $pipes); + proc_open("php " . APP_PATH . "kiri.php", [], $pipes); }