dmgerman / ninka

a license identification tool for Source Code
http://ninka.turingmachine.org
GNU General Public License v2.0
103 stars 30 forks source link

Avoid "which" cluttering stderr #31

Closed sschuberth closed 5 years ago

sschuberth commented 8 years ago

If the given executable is not in PATH, the "which" command line program prints an error to stderr. Avoid that by piping all output to /dev/null and querying the exit code instead of stdout.

sschuberth commented 8 years ago

@dmgerman Any chance getting this merged?

sschuberth commented 7 years ago

@dmgerman I've resolved the (trivial) merge conflict. Mind taking a look now?

sschuberth commented 5 years ago

Closing this unmerged due to a lack of interest from the project maintainers.