Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: yiyus on October 25, 2015, 02:03:13 PM
-
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!
-
Added, thanks!
-
Hi. There isn't a terminal variable? I think it was discussed in the past without solution.
-
IIRC the xterm is a symlink to your chosen terminal, not actual xterm.