Re: FVWM: Quit fvwm when last window is closed

From: Neil Zanella <nzanella_at_cs.mun.ca>
Date: Thu, 4 May 2000 21:11:40 -0230 (NDT)

I suggest having your InitFunction use an Exec followed by a one line
shell script which does the following:

- starts your application
- moitors whether the application is running the Unix ps and grep and/or
  awk commands and the sleep command embedded in an infinite for loop
  (man ps; man grep; man awk; man sleep; info bash)
- then use PipeRead to extract the Fvwm Quit command which will be output
  by your script's last line echo Quit.

That should do it. What application is it you're trying to monitor and
why?

Regards,

Neil

On Mon, 1 May 2000, Rick Teudt wrote:

> Hi all,
>
> I am new to the world of fvwm, so I hope there is an easy solution for this
> problem that I just haven't figured out yet: I would like to start an
> application in InitFunction, and have fvwm automatically quit when that
> application is exited or killed.
>
> Any suggestions would be greatly appreciated!
>
> Thanks,
>
> Rick Teudt
>
> --
> 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.
>

--
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 Thu May 04 2000 - 18:42:34 BST

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