Re: gnome-terminal --command
Hi
On Sat, 2004-11-27 at 21:52, mzagrabe@d.umn.edu 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?
xterm has a '-hold' option:
-hold Turn on the hold resource, i.e., xterm will not immediately
destroy its window when the shell command completes. It will wait until
you use the window manager to destroy/kill the window, or if you use
the menu entries that send a signal, e.g., HUP or KILL.
Perhaps gnome-terminal has a similar option?
HTH
Bram
--
# Mertens Bram "M8ram" <bram-mertens@linux.be> Linux User #349737 #
# SuSE Linux 8.2 (i586) kernel 2.4.20-4GB i686 512MB RAM #
# 9:56am up 15 days 0:40, 10 users, load average: 0.00, 0.03, 0.02 #
Reply to: