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).