pub fn which(name: impl AsRef<str>) -> Result<PathBuf>Available on crate feature
fs only.Expand description
Find an executable in PATH, or use a previously registered path (also available as
cu::which).
Result will be cached so finding the same executable name will always result in the same path.
See cu::bin module-level documentation for more info.