[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KProcIO: output in "wrong" order
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2006-01-29 9:47:13
Message-ID: 20060129094713.GA3908 () ugly ! local
[Download RAW message or body]

On Thu, Jan 26, 2006 at 06:40:44PM +0100, Oswald Buddenhagen wrote:
> On Thu, Jan 26, 2006 at 05:58:54PM +0100, Karim Ryde wrote:
> > I use KProcIO to launch an make process which may start child
> > processes.  When reading the output the result is different than would
> > running by hand in cli.
> > 
> i know where this comes from and will fix it for kde 4. i'm not sure it
> can be fixed in kde 3.5.x (that is, in a compatible way).
> i'll have a look.
> 
ok, this was simpler than i though. fixed for kde 3.5.2.
don't use KProcIO::start()'s includeStderr flag. instead, use 

KProcIO::setComm( KProcess::Stdout | KProcess::MergedStderr | ... );

-- 
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