Skip to main content

prepare_reexec

Function prepare_reexec 

Source
pub fn prepare_reexec(cmd: &mut Command, extra_env: &[(&str, &str)])
Expand description

Set up cmd to re-execute ourself: pass along our arguments and argv[0], and set extra_env (state that must survive the re-exec) in the child.