Skip to main content

run_program

Function run_program 

Source
pub fn run_program(
    runner: &dyn CommandRunner,
    program: &Path,
    args: &[OsString],
    cwd: Option<&Path>,
    stdin: CommandStdin,
    stderr: CommandStdio,
) -> Result<CommandOutput>
Expand description

Run a program with argv and collect stdout.