Function tiny_std::process::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.