On 24 Apr, Graeme McCaffery wrote:
> why is it that when i want to execute a program I end up with the shell
> that did it still running too?
>
> eg
>
> spxgm 27881 S 12:21:02 0:20 netscape -install
> spxgm 27880 S 12:21:01 0:00 /bin/tcsh -c netscape -install
> spxgm 27735 S 11:47:25 0:00 /bin/tcsh -c xbiff
> spxgm 27747 S 11:47:31 0:00 xbiff
Try something like this:
DestroyFunc "RunExec"
AddToFunc "RunExec" \
"I" Exec exec $0 $1 $2 $3 $4 $5 $6 $7 $8 $9
DestroyMenu "Applications"
AddToMenu "Applications" \
"I" "Netscape" RunExec "netscape -install -display $HOSTDISPLAY"
+ "I" "xbiff" RunExec "xbiff -display $HOSTDISPLAY"
+ "I" "YadaYada" RunExec yada yada yada
--
(void) lar3ry(); gensch_at_zk3.dec.com
"Sometimes it happens. People just explode. Natural causes."
--
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 Fri Apr 24 1998 - 08:11:10 BST