Function do_exec

Source
pub unsafe fn do_exec<F: PreExec>(
    bin: &UnixStr,
    argv: *const *const u8,
    envp: *const *const u8,
    closures: &mut [F],
) -> Error
Expand description

Execute a binary after running the provided closures. Will not return if successful.

ยงSafety

Pointers are valid.