[PATCH] Reset signal handlers in KProcess child

Thiago Macieira thiago at kde.org
Sat Jan 26 08:58:19 GMT 2008


Thiago Macieira wrote:
>Robert Knight wrote:
>>The attached patch causes KProcess to reset its child's signal
>>handlers back to SIG_DFL in setupChildProcess().  Is this the right
>>solution?
>
>No. It appears that this affects QProcess as well and should be fixed
>there.

Hmm... this is not a K/QProcess bug. I guess it's a kdm bug for leaking 
its signal configuration.

I'm not going to add this to QProcess. But KProcess may take this as a 
method: 
	setResetSignals(bool enable)

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080126/fc2610c1/attachment.sig>


More information about the kde-core-devel mailing list