Skip to main content

resolve_exe

Function resolve_exe 

Source
pub fn resolve_exe() -> PathBuf
Expand description

The executable to re-exec: argv[0] canonicalised (NOT /proc/self/exe, which reads “(deleted)” after an in-place rebuild); current_exe only as a fallback when argv[0] is not resolvable (e.g. bare name on PATH).