run

Function run 

Source
pub fn run<Args, Arg, F>(args: Args, filter: &mut F) -> Result<Exit, Error>
where Args: IntoIterator<Item = Arg>, Arg: Into<OsString>, F: Filter,
Expand description

Runs the command specified by args with the given filter.

This function behaves as if it passes args to execvp(), but it internally uses execv() as the former is not async-signal-safe.

ยงPanics

This function will panic if called multiple times concurrently, either from multiple threads or by a function in filter.