From kde-devel Wed Jun 25 13:29:18 2003 From: Oswald Buddenhagen Date: Wed, 25 Jun 2003 13:29:18 +0000 To: kde-devel Subject: Re: KProcess::kill X-MARC-Message: https://marc.info/?l=kde-devel&m=105654788020973 On Wed, Jun 25, 2003 at 03:02:21PM +0300, Andras Mantia wrote: > On Wednesday 2003 June 25 14:24, Oswald Buddenhagen wrote: > > On Wed, Jun 25, 2003 at 01:53:50PM +0300, Andras Mantia wrote: > > > Problem solved: > > > I call "::setpgid(proc->pid(), 0)" after the process has started > > > > that's racy. if the child fork()s before you setpgid() it, the > > grandchild will be still in your process group. you have to setpgid() in > > the child process. > > note also, that if the child will block if it does tty output and the > > fd is still connected to a terminal. > In this case I need support from KProcess... > no > But what should I do for KDE 3.1. x? > reimplement commSetupDoneC(). greetings -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Chaos, panic, and disorder - my work here is done. >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<