alexch / rerun

Restarts an app when the filesystem changes. Uses growl and FSEventStream if on OS X.
Other
984 stars 80 forks source link

Ignore which stderr #122

Closed thiagokokada closed 6 years ago

thiagokokada commented 6 years ago

GNU which (default in GNU/Linux systems) is very verbose when it doesn't find a command, printing to STDERR something along those lines when a command is not found:

which: no growlnotify in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
which: no terminal-notifier in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)

This isn't a problem in macOS, since the default which in macOS doesn't print to STDERR.

alexch commented 6 years ago

Thanks!