Re: [wmii] Ruby-IXP 0.1 - restarting patch

From: Steffen Liebergeld <stepardo_AT_gmail.com>
Date: Mon, 3 Jul 2006 11:31:22 +0200

On 7/3/06, Steffen Liebergeld <stepardo_AT_gmail.com> wrote:
> On 7/3/06, Stephan Maka <stephan_AT_spaceboyz.net> wrote:
> > Suraj N. Kurapati wrote:
> > > What happens when another wmiirc-astro process is run? Does the
> > > first one terminate? If not, please see the attached patch which
> > > re-introduces the mechanism used by the standard wmiirc.
> >
> > Is it really a good idea to let the wmiirc terminate? Because all other
> > programs are started by it, they will vanish then, which is bad.
>
> Two solutions:
> - give the children another processgroup (chpgrp())
> - have a seperate process start your programs

Actually (when looking at my wmiirc) the system() function should do
everything you need.

-- 
mit freundlichen Grüßen
                  Steffen Liebergeld
Received on Mon Jul 03 2006 - 11:31:24 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:10:30 UTC