Function std::env::get_exit_statusUnstable [-] [+] [src]

pub fn get_exit_status() -> i32

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