Skip to main content

run_command

Function run_command 

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

Simple helper to run a command with args, optionally in a specific directory. Returns stdout on success, or an error.