[][src]Function nix::unistd::execvpe

pub fn execvpe(
    filename: &CStr,
    args: &[&CStr],
    env: &[&CStr]
) -> Result<Infallible>

Replace the current process image with a new one and replicate shell PATH searching behavior (see execvpe(3)).

This functions like a combination of execvp(2) and execve(2) to pass an environment and have a search path. See these two for additional information.