[EMAIL PROTECTED] wrote:
hello,

i am having trouble getting gnome-terminal to persist using the --command 
option.

$ gnome-terminal --command=ls

opens a new gnome-terminal and closes it immediately after executing the 'ls'.

does anyone know of a way to keep the terminal from closing after running the
command?

thanks,

-matt zagrabelny



This is what fluxbox uses in it's menus:

x-terminal-emulator -T "Worm" -e sh -c '/usr/games/worm;echo PRESS ENTER;read line'

given the syntax you gave above, I'd suggest:
gnome-terminal --command="sh -c 'ls;bash'" (executing bash after ls)

HTH,

Joris


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to