[][src]Function simple_libc::exec::execv

pub fn execv<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 does not perform a PATH lookup, so a full path should be specified.

If this function returns, it means an error occurred.