which-rs
which-rs copied to clipboard
A Rust equivalent of Unix command "which".
Is there any way to warn users that a file was found but was skipped because it failed to have the executable bit set? For context, I ran into this...
The current implementation for windows checks all executable extensions in the environment variable `PATHEXT`, **but** if the binary path already has an extension that extension is currently ignored if it...
Would be more helpful if undefined `PATH` variable resulted in a different error.
Hi! I am writing a Rust program that installs a POSIX shell script. In order to configure the shebang line properly, I would like to follow the spec and resolve...
Hi, I'm trying to find a way to change the error message outputted by `which::which` when no match is found to include more helpful information for the user. I have...
Hi, first thank you very much for this crate! I'm building a rust program calling other executables and using `which` to locate them in order to pass the absolute path...
Makes the function `build_binary_checker()` and modules `checker`, `error`, `finder` and `helper` public. Context, I wish to run `which_all()` with a custom `path`. As you see `env::var_os("PATH")` is a hardcoded value....