Function fdio::spawn_etc

source ·
pub fn spawn_etc(
    job: &Job,
    options: SpawnOptions,
    path: &CStr,
    argv: &[&CStr],
    environ: Option<&[&CStr]>,
    actions: &mut [SpawnAction<'_>]
) -> Result<Process, (Status, String)>
Expand description

Spawn a process in the given job using a series of SpawnActions. All SpawnActions are nullified after their use in this function.