Function run

Source
pub fn run<P, S, K, V>(
    repo: P,
    args: impl IntoIterator<Item = S>,
    envs: impl IntoIterator<Item = (K, V)>,
) -> Result<String, Error>
where P: AsRef<Path>, S: AsRef<OsStr>, K: AsRef<OsStr>, V: AsRef<OsStr>,
Expand description

Execute a git command by spawning a child process.