Skip to main content

execve

Function execve 

Source
pub unsafe fn execve(
    path: &[u8],
    argv: usize,
    envp: usize,
) -> Result<usize, Error>
Expand description

Replace the current process image with a new program.

path: executable path as a nul-terminated C string byte slice. argv and envp: pointers to null-terminated C-style arrays.