pub fn resolve_real_binary(name: &str) -> Option<PathBuf>
Resolve the real binary for name by walking $PATH, skipping the shim’s own directory and any entry that resolves back to the shim itself.
name
$PATH