Skip to main content

run

Function run 

Source
pub fn run(
    program: &str,
    args: &[&str],
    env: &BTreeMap<String, String>,
    cwd: Option<&Path>,
) -> Result<()>
Expand description

Run a command to completion, capturing stderr on failure. env overrides are applied on top of the inherited environment.