Open za3k opened 2 years ago
(which)
i've looked at this in the code and i think the proper way to do this is simply not check if the program is present and try to execute it directly. you will get an error and then you handle that appropriately.
i was about to go on and do this, but there's calls like this everywhere in the code and I wanted to make sure that made sense for you before going ahead. :)
I'm wasn't planning to remove dependence on which
. The reason being, if I just remove dependency on all the other command-line tools, the which
dependency disappears automatically.
That said if you give me a PR I'd accept it.
Edit: I still want to fail-fast for the new version, so make sure to preserve that.
Remove dependencies on all command-line tools: