Skip to main content

exit_code

Function exit_code 

Source
pub fn exit_code(status: ExitStatus) -> i32
Expand description

The shell-convention exit code of a finished child: its exit code, or 128 + signal when a signal terminated it (130 SIGINT, 137 SIGKILL, 143 SIGTERM, …).