Function cargo_util::paths::resolve_executable
source ยท pub fn resolve_executable(exec: &Path) -> Result<PathBuf>
Expand description
Returns the absolute path of where the given executable is located based
on searching the PATH
environment variable.
Returns an error if it cannot be found.