Function std::os::self_exe_path

pub fn self_exe_path() -> Option<Path>

Optionally returns the filesystem path to the current executable which is running. If any failure occurs, None is returned.