const char * get_reexec_path()
Armed re-exec path, or nullptr.
const std::string & get_exe_path()
Absolute path to running exe (resolved at startup); empty on failure.
char ** get_argv()
argv captured by main(); stable for process lifetime.
void arm_reexec(const std::string &path)
Arm an execv on the next arch_restart(). Pass empty to disarm.