nix::spawn

Function posix_spawn

Source
pub fn posix_spawn<P, SA, SE>(
    path: &P,
    file_actions: &PosixSpawnFileActions,
    attr: &PosixSpawnAttr,
    args: &[SA],
    envp: &[SE],
) -> Result<Pid>
where P: NixPath + ?Sized, SA: AsRef<CStr>, SE: AsRef<CStr>,
Expand description

Create a new child process from the specified process image. See posix_spawn.