janlelis/clipboard — pull request #14 by ushis (2013-02-03 13:21:13+00:00)
Title: Use system() to determine clipboard on linux and redirect stderr.

Hey,

here are a few changes. The main reason was to get rid of the error messages of the which command.

- system() returns boolean, that's what we need here
- redirect stderr to /dev/null to avoid ugly error messages