Skip to main content

read_exit_code_from_log

Function read_exit_code_from_log 

Source
pub fn read_exit_code_from_log(log_path: &str) -> Option<i32>
Expand description

Read the terminal exit code from the anchored footer at the end of a log.

Thin wrapper kept for compatibility: the footer itself is parsed by status_footer, which also returns the Finished: timestamp callers need for end_time (issue #170.2).