executable_path

Function executable_path 

Source
pub fn executable_path() -> Result<PathBuf>
Expand description

Return the path to our own executable. In some cases (SELinux) we may have performed a re-exec with a temporary copy of the binary and this environment variable will hold the path to the original binary.