改名
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user