Re: FVWM: Popup- start two programs?

From: Stephen Riehm <stephen.riehm_at_PC-Plus.DE>
Date: Tue, 12 Mar 1996 11:32:00 +0100 (MEZ)

Hi Kevin,

> Is there a way to have one popup menu item start two
> programs? I'm using fvwm 1.?

> Exec "Mgr/Schematics" exec 'pspice/msimmgrd;pspice/psched'

you're using Unix, so you've got to learn a few other ways to skin
a cat :-)

In this case, simply create a very small shell script, and run that,
you do have a directory for your own scripts etc don't you?

As an example:

--- cut here, File: start.schematics---
#!/bin/sh
PATH=/a/full/path/to/pspice:$PATH
export PATH
msimmgrd &
psched &
exit 0
--- cut here ---

then in fvwm:
        Exec "Mgr/Schematics" exec start.schematics &

you could also redirect output from the programs into seperate log
files, or any number of other things. I use a trick like this to get
around AIX's braindead Xterm, which forget to set the window size
properly when starting up.

Hope this helps,

Steve
_______________________________ ._ o ________________________________
// Stephen Riehm / //\. Stephen.Riehm_at_pc-plus.de
\\\\ pc-plus ' \>> | Phone: +49 89 62030 148
//// 81539 Munich, Germany \\ ` Fax: +49 89 62030 113
  \\
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Mar 12 1996 - 04:57:42 GMT

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