Skip to main content

run_cmd_in

Function run_cmd_in 

Source
pub fn run_cmd_in(
    dir: &Path,
    program: &str,
    args: &[&str],
) -> Result<RunOutput, RunError>
Expand description

Run an arbitrary command in a specific directory, capturing output.

The dir parameter is first to match run_jj(dir, args) / run_git(dir, args).