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
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