Function attempt_fallbacks

Source
pub(crate) fn attempt_fallbacks(
    fallbacks: Vec<Box<dyn Fn() -> Result<i32>>>,
) -> Result<i32>
Expand description

Gracefully cycle through ordered OS commands until one of them works