Function nix::unistd::execv

source ·
pub fn execv<S: AsRef<CStr>>(path: &CStr, argv: &[S]) -> Result<Infallible>
Expand description

Replace the current process image with a new one (see exec(3)).

See the ::nix::unistd::execve system call for additional details. execv performs the same action but does not allow for customization of the environment for the new process.