KProcess bug or something wrong in kdevelop?

Andreas Pakulat apaku at
Thu Nov 9 09:50:18 GMT 2006

On 09.11.06 10:29:13, Oswald Buddenhagen wrote:
> On Thu, Nov 09, 2006 at 12:32:33AM +0100, Andreas Pakulat wrote:
> > Figuring out how it should work was easy and actually it works 99%.
> > The problem is that the remaining 1% creates a zombie process of
> > whatever I start via KProcess, be it a shell command starting qmake,
> > simply kcalc without shell or kate.
> > 
> is the code in question multi-threaded by any chance?


> > Currently I'm stuck with using system() and sending the stderr-output
> > to a temp-file, which is really ugly.
> > 
> you can also do popen("qmake ... 2>&1 >/dev/null", "r").

Hmm, yeah that would also be a possibility...

> anyway, why do you insist on blocking?

Because I need the stuff I get from qmake to go on loading the qmake
project in kdevelop.


You will be run over by a bus.

More information about the kde-core-devel mailing list