Skip to main content

exit_code_in

Function exit_code_in 

Source
pub fn exit_code_in(result: &Map<String, Value>) -> Option<i64>
Expand description

The code an exec result says its command ended with. The key and the rule that a code is written only when there is one are tools::exec::outcome’s; this is the one reader of that key, so a command a signal stopped reads as None rather than as a number.