BradleyChatha / jcli

A CLI framework for D
MIT License
23 stars 4 forks source link

Implement doesCommandExist for Posix instead of linux #45

Closed gizmomogwai closed 3 years ago

gizmomogwai commented 3 years ago

See https://stackoverflow.com/questions/762631/find-out-if-a-command-exists-on-posix-system for reference.

gizmomogwai commented 3 years ago

This also includes osx on which i ran into the problem and tested the patch.

BradleyChatha commented 3 years ago

Thanks! I don't own a Mac so I can't test anything at all for it, much appreciated.

I haven't even started work on v0.13.0 yet, so I'll push this to dub as v0.12.1 for your convenience, I'll make sure to include this in the v0.13.0 changelog though.

gizmomogwai commented 3 years ago

thanks a lot ... it is not really critical for me, but good to have it also working on os x ...