On 17 Aug 2002 19:13:24 +0200, Ulrich Fahrenberg wrote:
>
> On Sat, 17 Aug 2002, Felix Kater wrote:
>
> > I defined a Menu to start an xterm like this:
> >
> > AddToMenu MenuBackup
> > + "start backup" Exec exec xterm
> >
> > But how can I add something (after Exec exec xterm) to start a
> > scipt which shows its output in that xterm?
>
> AddToMenu MenuBackup
> + "Test" Exec exec xterm -e pine
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.
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 - 13:58:32 BST