Skip to main content

current_binary_path

Function current_binary_path 

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

Get the path to the currently-running executable, with sensible fallback. Used by callers who haven’t been handed an explicit binary path (the common case from the gruel CLI).