From 794165fa6773a88d7f7c8341ca9985c7432a2861 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 4 Nov 2021 18:47:23 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index 699d90c9..1b512800 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -73,7 +73,7 @@ class FileChangeCustomProcess extends Command } }); go(function () use ($driver) { - $this->source = proc_open('php ' . APP_PATH . 'kiri.php', null, $this->pipes); + $this->source = proc_open('php ' . APP_PATH . 'kiri.php', [], $this->pipes); $driver->start(Coroutine::getCid()); }); @@ -117,7 +117,7 @@ class FileChangeCustomProcess extends Command proc_close($this->source); } - $this->source = proc_open("php " . APP_PATH . "kiri.php", null, $this->pipes); + $this->source = proc_open("php " . APP_PATH . "kiri.php", [], $this->pipes); } }