[PATCH] Reset signal handlers in KProcess child

Andreas Pakulat apaku at gmx.de
Sat Jan 26 07:31:11 GMT 2008

On 26.01.08 04:22:55, 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?

I can't say anything about the correctness of the patch, but...

> +void KProcess::setupChildProcess()
> +{
> +#ifndef Q_OS_WIN

The ifndef is not needed. QProcess calls this function only on MacOSX
and Unix according to the API docs.


Don't kiss an elephant on the lips today.

More information about the kde-core-devel mailing list