class Process::Status
inherits Reference
¶
The status of a terminated process. Returned by Process#wait
.
Methods¶
#exit_signal : Signal
¶
: Signal
If signal_exit?
is true
, returns the Signal the process
received and didn't handle. Will raise if signal_exit?
is false
.
Available only on Unix-like operating systems.
#exit_status : Int32
¶
: Int32
Platform-specific exit status code, which usually contains either the exit code or a termination signal.
The other Process::Status
methods extract the values from exit_status
.