fdio

Function 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.