This is automatic generated document for things in Swow\Process\ProcessExitStatus class

Class ProcessExitStatus

Exit status of a ChildProcess.

Methods

Method getExitCode

public function getExitCode ( ) : int

Get the exit code.

Returns int exit code on normal exit, -1 when signaled

Method getTermSignal

public function getTermSignal ( ) : int

Get the terminating signal.

Returns int terminating signal, -1 on normal exit

Method isExited

public function isExited ( ) : bool

Check whether the process exited normally.

Method isSignaled

public function isSignaled ( ) : bool

Check whether the process was terminated by a signal.

Method isStopped

public function isStopped ( ) : bool

Check whether the process is stopped.

Spawned processes always return false. On POSIX fork children this reflects a stopped wait status.


Copyright 2022 the Swow contributors

This site uses Just the Docs, a documentation theme for Jekyll.