Skip to main content

dispatch

Function dispatch 

Source
pub(crate) fn dispatch(verb: &str, argv: &[OsString]) -> Result<(), Refusal>
Expand description

Finds the binary for verb and runs it with argv.

Only returns when the binary is not there, or could not be started: on success the verb’s process replaces this one.