graveyard / gearcmd

Utility to create gearman workers out of command-line programs
Apache License 2.0
13 stars 0 forks source link

argparser requires /bin/bash be in PATH #7

Open jonahkagan opened 9 years ago

jonahkagan commented 9 years ago

argparser requires /bin/bash to do its parsing. If /bin/bash is not in gearcmd's PATH, it will exit with error: "exit status 127" and no other information. This requirement should be made explicit and given a clear error message.

rgarcia commented 9 years ago

could also change the hashbang to the more portable #!/usr/bin/env bash