Skip to main content

execve_host

Function execve_host 

Source
pub unsafe fn execve_host(
    path: &CStr,
    argv: &[*const c_char],
    envp: &[*const c_char],
) -> i32
Expand description

Host execve with owned C strings (never returns on success).

ยงSafety

argv and envp must be NULL-terminated arrays of valid C strings; this process image is replaced on success.