改名
This commit is contained in:
@@ -107,10 +107,9 @@ class FileChangeCustomProcess extends Command
|
|||||||
|
|
||||||
$content = file_get_contents(storage('.swoole.pid'));
|
$content = file_get_contents(storage('.swoole.pid'));
|
||||||
if (!empty($content)) {
|
if (!empty($content)) {
|
||||||
if (Process::kill((int) $content, 0)) {
|
var_dump($content);
|
||||||
Process::kill((int)$content, SIGTERM);
|
Process::kill((int)$content, SIGTERM);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
proc_open("php " . APP_PATH . "kiri.php", [], $pipes);
|
proc_open("php " . APP_PATH . "kiri.php", [], $pipes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user