From 0b170cafb2632a255ac0a92daf8bd4cd5028d044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 4 Nov 2021 18:42:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kiri-engine/FileListen/FileChangeCustomProcess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index e41b7641..3a61c4b0 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -110,7 +110,7 @@ class FileChangeCustomProcess extends Command $content = file_get_contents(storage('.swoole.pid')); if (!empty($content)) { - Process::kill((int)storage('.swoole.pid'), 15); + Process::kill((int)$content, 15); proc_close($this->source); }