Skip to main content

get_fallback_command

Function get_fallback_command 

Source
pub fn get_fallback_command(
    bin: impl AsRef<str>,
) -> FallbackCommand<impl FnOnce(&[String]) -> i32 + Send + 'static>
Expand description

Gets a FallbackCommand for the specified binary, with a fallback function that will be called if the binary is not found.