[PATCH] Reset signal handlers in KProcess child

Oswald Buddenhagen ossi at kde.org
Thu Jan 31 21:07:06 GMT 2008


On Thu, Jan 31, 2008 at 03:07:21PM -0500, Allen Winter wrote:
> > The attached patch causes KProcess to reset its child's signal
> > handlers back to SIG_DFL in setupChildProcess().  Is this the right
> > solution?
> >
> Was there a consensus on how to solve this?
>
not really ...

> Sure would be nice to have Ctrl+C working in konsole.
>
well, that particular problem was solved by fixing kdm.
ignoring sigpipe will still be inherited from kdelibs, though. and of
course other ignores set up by apps.
i still think this should be fixed in qprocess, even at the risk of
breaking (unportable ;) apps - i think many more will be fixed than
broken.

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