[−][src]Function fungus::sys::exec::dir
pub fn dir() -> FuResult<PathBuf>
Returns the full path to the directory of the current running executable.
Examples
use fungus::prelude::*; let dir = sys::exe().unwrap().dir().unwrap(); assert_eq!(exec::dir().unwrap(), dir);