pub fn spawn_check_exit_status(wait_status: i32) -> Result<(), Error>