pub fn check_exit_status(st: ExitStatus) -> Result<(), Error>