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