Re: FVWM: Auto exit of fvwm

From: Pete Forman <gsez020_at_compo.bedford.waii.com>
Date: Mon, 25 Jan 1999 08:53:26 GMT

Kent Howard writes:
> Why not make the .xsession like this
>
> fvwm2 &
> yourapp

That wouldn't work on my NCD XServer as it posts a dialog asking
whether to kill lingering clients. A more resilient approach for
handling background tasks in an X session is

    bpid=

    fvwm2 &
    bpid="$! $bpid"

    xclock &
    bpid="$! $bpid"

    yourapp

    for p in $bpid
    do
        kill $p
    done

The last loop may work as "kill $bpid" but some versions of kill are
limited in the number of process ids they accept.
-- 
Pete Forman
Western Geophysical
pete.forman_at_westgeo.com
--
Visit the official FVWM web page at <URL: http://fvwm.math.uh.edu/>.
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 Mon Jan 25 1999 - 02:54:41 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST