[−][src]Function simple_libc::exec::execvp
pub fn execvp<T: AsRef<OsStr>, U: AsRef<OsStr>>(
prog: T,
argv: &[U]
) -> Result<()>
Attempts to execute the given program with the given arguments, replacing the
current process. This variant of exec
performs a PATH
lookup, so specifying
a full path is not necessary.
If this function returns, it means an error occurred.