[PATCH] Stupid sorkaround for bug in kde3support

Oswald Buddenhagen ossi at kde.org
Thu Jan 24 00:24:57 GMT 2008


On Wed, Jan 23, 2008 at 05:04:24PM +0100, Sebastian TrĂ¼g wrote:
> there seems to be a bug in K3ProcessController in kde3support. The ref 
> counting is somehow broken.
> 
i don't think it is broken. but unlike in kde3, the controller is not
ref-ed from kapp. the installing and uninstalling of the sig handlers
will cause problems when mixing with qprocess and possibly other things
is not done very carefully. it might well be that your hack is the only
realistically applicable fix.

> There seems to be no way to get ones hands on the stdout and stdin fds
> in QProcess like one could in K3Process. Is that correct?
> 
yes.
you are supposed to use the redirection functions.
if that's not enough, override setupChildProcess() and do everything
yourself - but that works only on unix, obviously.

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




More information about the kde-core-devel mailing list