Sander van Dijk wrote:
> Suraj N. Kurapati wrote:
> >  Think of "Quit\n" as confirmation of our "quit"
> >  request to wmii.  Our wmiirc can then exit/clean
> >  up gracefully upon reception of this
confirmation.
> 
> And how long should it then wait for something to
> read that "Quit\n"? 1 second? 1 minute?
Indefinitely? 
> If anything, this should be "fixed" in wmiirc; wmii 
> is doing the sensible thing here I believe.

Since wmii is the parent process of wmiirc, it can
simply (1) send the Quit event and (2) wait for its
child process to die.  No need to wait for
predetermined periods of time.

Reply via email to