From 3ac7720f5b3ae471c69a31a589a787cc5e45bf83 Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 5 Nov 2021 01:21:47 +0800 Subject: [PATCH] 111 --- kiri-engine/FileListen/FileChangeCustomProcess.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index bac25834..4cf493d4 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -111,9 +111,8 @@ class FileChangeCustomProcess extends Command Coroutine::create(function () { $descriptorspec = [0 => STDIN, 1 => STDOUT, 2 => STDERR]; - proc_open("php " . APP_PATH . "kiri.php", $descriptorspec, $pipes); - - var_dump($pipes); + $proc = proc_open("php " . APP_PATH . "kiri.php", $descriptorspec, $pipes); + proc_close($proc); }); }