bitbake/runqueue.py: Ensure child has the default SIGCHLD handler restored

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-02-16 12:33:40 +00:00
parent 974ea1a190
commit 7e4c694c9f

View File

@@ -1107,6 +1107,8 @@ class RunQueueExecute:
# themselves
bblogger.handlers = [bb.event.LogHandler()]
signal.signal(signal.SIGCHLD, signal.SIG_DFL)
self.rq.state = runQueueChildProcess
# Make the child the process group leader
os.setpgid(0, 0)