[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gnome-terminal without the fork?



On Fri, 27 Feb 2004 21:00:15 +0100, Adam C Powell IV wrote:

> Greetings,
> 
> I have an old script which runs gnome-terminal to ask for user input,
> then takes that input and does something with it.

*cough* zenity xdialog *cough*

> Unfortunately, the new gnome-terminal seems to fork itself, so the
> script moves on without waiting for the gnome-terminal to exit.
> 
> How do I change this?

You might want to try the --disable-factory argument.  The terminal isn't
actually forking, but using some Bonobo factory to do the actual work.

> The manpage gives a "-x" switch, but that seems to be equivalent to -e
> according to what gnome-terminal tells me when I try it...

Try

gnome-terminal -x less /etc/motd
gnome-terminal -e less /etc/motd
gnome-terminal -e "less /etc/motd"

to see what the difference is :-)

-- 
Best Regards,  | This signature is currently under construction.
 Sebastian     | Please check back later!
               |--------------------------------------------------------
               | mailbox in "From" silently drops any mail > 20k



Reply to: