Skip to main content

describe_exit_code

Function describe_exit_code 

Source
pub fn describe_exit_code(exit_code: Option<i32>) -> ExitCodeDescription
Expand description

Decode an exit code once, for every caller (issue #171.4).

128 + n was previously decoded in the status formatter and described in prose by the watcher, which is how the same 137 could be reported as SIGKILL in one place and as a bare number in the other.