pub async fn run_process_async<'a>(
binary_path: &'a str,
args: impl IntoIterator<Item = &'a str>,
proxies: impl IntoIterator<Item = (&'a str, &DirectoryProxy)>,
) -> (Task<i64>, Socket, Socket)
Expand description
Runs a binary with some arguments asynchronously; returns a delayed exit code and two sockets with stdout and stderr. For a simpler API, use run_process().