Re: FVWM: simple question: how execute xterm and then a script?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sat, 17 Aug 2002 22:41:13 +0000

On 17 Aug 2002 15:52:35 -0600, Rob 'Feztaa' Park wrote:
>
> Alas! Mikhael Goikhman spake thus:
> > If your script immediatelly exits after printing the output you should
> > prevent xterm from being closed, something like:
> >
> > Exec exec xterm -e sh -c "date; head -1"
> >
> > where "date" is your script. This waits for Enter to be closed.
>
> Interesting; I would have done 'read' instead of 'head -1' ;)

head is more portable, read is not available in some shells like tcsh/csh.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat Aug 17 2002 - 17:42:25 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST