Function std::env::get_exit_status [] [src]

pub fn get_exit_status() -> i32
Unstable

: managing the exit status may change

Fetches the process's current exit code. This defaults to 0 and can change by calling set_exit_status.