Function unique_executables

Source
pub fn unique_executables() -> Result<Vec<Executable>, VarError>
Expand description

Handles precedence i.e. will only return the first entry in PATH for each executable name

Note: this will never use rayon

Only partially implemented on Windows. It will choose the correct folder but is not guaranteed to choose the correct executable based on PATHEXT order (e.g. .exe before .bat when they share a folder).