Arguments are not passed correctly in cliorx. For example, this fails:
cliorx sh -c 'cmd1; cmd2 && cmd3'
In this case, "cmd1;", "cmd2", "&" and "cmd3" are passed as different arguments to sh.
The solution is easy. Just use quotes in cliorx:
[ "$DISPLAY" ] && /usr/local/bin/xterm -e "$@" || "$@"
Thank you!