We could first try sselp and if it not exists run xclip.
This should be possible with two exec calls after each other:
execlp("sselp", ...);
execlp("xclip", ...);
Then the second will only be executed when the first fails.
meillo
Received on Sat Dec 05 2009 - 11:30:11 UTC
This archive was generated by hypermail 2.2.0 : Sat Dec 05 2009 - 11:36:02 UTC