code === 0; } /** * The exit code of the process, if any. */ public function code(): ?int { return $this->code > -1 ? $this->code : null; } /** * If the process was terminated by a signal, returns that signal. */ public function signal(): ?int { return $this->signal; } /** * If the process was stopped by a signal, returns that signal. */ public function stoppedSignal(): ?int { return $this->stoppedSignal; } }