current_exe

Function current_exe 

Source
pub fn current_exe() -> Result<PathBuf>
Available on Linux or Cygwin or target_os=hurd or Android or target_os=nuttx or Emscripten only.