Re: KProcIO: output in "wrong" order
On Sunday 29 January 2006 11:12, Oswald Buddenhagen wrote:[color=blue]
> On Sun, Jan 29, 2006 at 11:07:33AM +0100, Karim Ryde wrote:[color=green]
> > On Sunday 29 January 2006 10:47, Oswald Buddenhagen wrote:[color=darkred]
> > > 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 | ... );[/color]
> > Ok, so it won't work until 3.5.2.[/color]
> of course.
> but, of course, you are free to override KProcess::commSetupDoneC with a
> (modified) copy from the 3.5 svn branch.[/color]
>> Visit [url]http://mail.kde.org/mailman/listinfo/kde-devel#unsub[/url] to unsubscribe <<[/color][/color]