From kde-devel Sun Jan 29 10:43:02 2006 From: Karim Ryde Date: Sun, 29 Jan 2006 10:43:02 +0000 To: kde-devel Subject: Re: KProcIO: output in "wrong" order Message-Id: <200601291143.02605.karim () bredband ! net> X-MARC-Message: https://marc.info/?l=kde-devel&m=113853143408474 On Sunday 29 January 2006 11:12, Oswald Buddenhagen wrote: > On Sun, Jan 29, 2006 at 11:07:33AM +0100, Karim Ryde wrote: > > On Sunday 29 January 2006 10:47, Oswald Buddenhagen wrote: > > > 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 | ... ); > > > > Ok, so it won't work until 3.5.2. > > of course. > but, of course, you are free to override KProcess::commSetupDoneC with a > (modified) copy from the 3.5 svn branch. Ok, thanks! >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<