[`which` manpage](http://unixhelp.ed.ac.uk/CGI/man-cgi?which) states that "Which returns the number of failed arguments", so `!system("which #{cmd}")` should work just as well. I would use `system` for the check on windows too and could drop both `!`, changing `unavailable` to `available`. Less negation. Objections?