[−][src]Function nix::unistd::execvp
pub fn execvp(filename: &CStr, args: &[&CStr]) -> Result<Infallible>
Replace the current process image with a new one and replicate shell PATH
searching behavior (see
exec(3)).
See ::nix::unistd::execve
for additional details. execvp
behaves the
same as execv except that it will examine the PATH
environment variables
for file names not specified with a leading slash. For example, execv
would not work if "bash" was specified for the path argument, but execvp
would assuming that a bash executable was on the system PATH
.