This commit is contained in:
2021-11-05 01:21:47 +08:00
parent a1fc45c3d7
commit 3ac7720f5b
@@ -111,9 +111,8 @@ class FileChangeCustomProcess extends Command
Coroutine::create(function () { Coroutine::create(function () {
$descriptorspec = [0 => STDIN, 1 => STDOUT, 2 => STDERR]; $descriptorspec = [0 => STDIN, 1 => STDOUT, 2 => STDERR];
proc_open("php " . APP_PATH . "kiri.php", $descriptorspec, $pipes); $proc = proc_open("php " . APP_PATH . "kiri.php", $descriptorspec, $pipes);
proc_close($proc);
var_dump($pipes);
}); });
} }