From bfc591b10a6f79f4cb8040366c7e851234fc8463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 4 Nov 2021 18:23:58 +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, 2 deletions(-) diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index f44a3fd1..5ff0fbe7 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -68,8 +68,6 @@ class FileChangeCustomProcess extends Command $this->source = proc_open("php " . APP_PATH . "kiri.php sw:server restart", [ 0 => ["pipe", "r"], // 标准输入,子进程从此管道中读取数据 - 1 => ["pipe", "w"], // 标准输出,子进程向此管道中写入数据 - 2 => ["file", "/tmp/error-output.txt", "a"] // 标准错误,写入到一个文件 ] , $this->pipes); var_dump($this->source, $this->pipes);