Function shell_process::run_process

source ·
pub async fn run_process<'a>(
    binary_path: &'a str,
    args: impl IntoIterator<Item = &'a str>,
    proxies: impl IntoIterator<Item = (&'a str, &DirectoryProxy)>
) -> ProcessOutput
Expand description

Runs a binary with some arguments synchronously; returns a struct with exit code, stdout, and stderr.