diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index 5b1637b7..127d5edb 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -112,7 +112,9 @@ class FileChangeCustomProcess extends Command if (is_resource($this->source)) { fwrite($this->source, "php " . APP_PATH . "kiri.php sw:server restart"); } else { - $this->source = proc_open("php " . APP_PATH . "kiri.php sw:server restart", [], $this->pipes); + $this->source = proc_open("php " . APP_PATH . "kiri.php sw:server restart", [ + STDIN, STDOUT + ], $this->pipes); var_dump($this->pipes); }