[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KProcess::kill
From: Oswald Buddenhagen <ossi () kde ! org>
Date: 2003-06-25 13:29:18
[Download RAW message or body]
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 <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic