1 2 3
pub(crate) fn normalize_exit_status(status: impl Into<i64>) -> i32 { status.into().rem_euclid(256) as i32 }