Function cargo_util::paths::resolve_executable
source · [−]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.