public function isRunning() : bool { return 0 !== $this->pid && false !== posix_getpgid($this->pid); }