This commit is contained in:
2021-11-05 14:27:13 +08:00
parent 5a99181eaf
commit 975f6f85a2
@@ -98,7 +98,8 @@ class FileChangeCustomProcess extends Command
if (is_resource($this->source)) { if (is_resource($this->source)) {
proc_terminate($this->source); proc_terminate($this->source);
while (proc_get_status($this->source)['running']) { while (proc_get_status($this->source)['running']) {
Coroutine::sleep(0.001); var_dump(proc_get_status($this->source));
Coroutine::sleep(1);
} }
proc_close($this->source); proc_close($this->source);
$this->source = null; $this->source = null;