Function nix::unistd::execvpe [−][src]
pub fn execvpe<SA: AsRef<CStr>, SE: AsRef<CStr>>(
filename: &CStr,
args: &[SA],
env: &[SE]
) -> Result<Infallible>
Expand description
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.