pub fn finish_wait<T>(outcome: &Driven<T>, what: &str) -> Option<u8>
Turn a wait outcome into an exit code, printing the reason for anything but success.