改名
This commit is contained in:
@@ -73,7 +73,7 @@ class FileChangeCustomProcess extends Command
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
go(function () use ($driver) {
|
go(function () use ($driver) {
|
||||||
$this->source = proc_open('php ' . APP_PATH . 'kiri.php', null, $this->pipes);
|
$this->source = proc_open('php ' . APP_PATH . 'kiri.php', [], $this->pipes);
|
||||||
|
|
||||||
$driver->start(Coroutine::getCid());
|
$driver->start(Coroutine::getCid());
|
||||||
});
|
});
|
||||||
@@ -117,7 +117,7 @@ class FileChangeCustomProcess extends Command
|
|||||||
proc_close($this->source);
|
proc_close($this->source);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->source = proc_open("php " . APP_PATH . "kiri.php", null, $this->pipes);
|
$this->source = proc_open("php " . APP_PATH . "kiri.php", [], $this->pipes);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user