偽代碼: $master_pid = file_get_contents(Worker::$pidFile); $master_pid > 0 && posix_kill($master_pid, SIGINT);
謝了,直接獲取ppid就可以獲取到