KProcess bug or something wrong in kdevelop?

Oswald Buddenhagen ossi at kde.org
Thu Nov 9 09:29:13 GMT 2006


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").

anyway, why do you insist on blocking?

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list