This commit is contained in:
2021-11-05 00:40:53 +08:00
parent 63aadcb31f
commit f49af928b6
@@ -102,7 +102,14 @@ class FileChangeCustomProcess extends Command
}
$this->channel->pop();
shell_exec("php " . APP_PATH . "kiri.php");
$descriptorspec = [
0 => STDIN,
1 => STDOUT,
2 => STDERR,
];
proc_open("php " . APP_PATH . "kiri.php", $descriptorspec, $pipes);
$this->channel->push(1);
});