Skip to main content

exit_status

Function exit_status 

Source
pub fn exit_status(outcome: &CommandOutcome) -> u8
Expand description

The exit status of kizz execute for a command whose outcome is outcome: the program’s exit code, its low eight bits as the system reports them; 128 plus the number of the signal that killed it; STATUS_NOT_FOUND when the program is not found; STATUS_NOT_EXECUTABLE when it is found but cannot be run or started; and STATUS_FAILED when the tracer failed. A signal number that does not fit gives 255.