From 18896e386a75c99355254d090a277800b1126f91 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 23 Dec 2010 11:40:55 -0800 Subject: [PATCH] _exec: disable SIGQUIT handler override by parent Maybe this will fix bug 289486 (needs testing). --- pym/portage/process.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/pym/portage/process.py b/pym/portage/process.py index 3809ed8..00fe4a5 100644 --- a/pym/portage/process.py +++ b/pym/portage/process.py @@ -352,6 +352,10 @@ def _exec(binary, mycommand, opt_name, fd_pipes, env, gid, groups, uid, umask, # Quiet killing of subprocesses by SIGPIPE (see bug #309001). signal.signal(signal.SIGPIPE, signal.SIG_DFL) + # Avoid issues triggered by inheritance of SIGQUIT handler from + # the parent process (see bug #289486). + signal.signal(signal.SIGQUIT, signal.SIG_DFL) + _setup_pipes(fd_pipes) # Set requested process permissions. -- 1.7.3.3