Detaching [QK]Process

Oswald Buddenhagen ossi at kde.org
Thu Jun 21 09:37:41 BST 2007


On Thu, Jun 21, 2007 at 10:31:54AM +0200, Thiago Macieira wrote:
> Andreas Pakulat said:
> > Not a good option I think, or do K3Process and Q/KProcess nowadays work
> > well together? My last information on this is that they shouldn't be
> > used in the same application because you'll loose the ability to get the
> > signals from the started process.
> 
> Not a good option, but your only other option is to modify the code so
> that it doesn't need to detach.
> 
> Your last information is correct. But I think we can make K3Process work
> by making it start a dummy process with QProcess (so that the Qt signal
> handler is installed), then installing a secondary signal handler in
> K3Process -- i.e., a cascade.
> 
can somebody create a testcase that actually shows this failure?

> > AFAIK Oswald wanted to add a detach() to KProcess.
> 
i failed.

-- 
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