Function filterm::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 from multiple threads concurrently.