pub async fn spawn_process(
program: &str,
args: &[String],
cwd: &Path,
env: &HashMap<String, String>,
arg0: &Option<String>,
inherited_fds: &[i32],
) -> Result<SpawnedProcess>Expand description
Spawn a process using regular pipes and preserve selected inherited file descriptors across exec on Unix.