In zygote/worker.py, we set a SIGCHLD handler to reap children. Then we fork the child.
This means the child is runnig with a SIGCHLD handler that points to ZygoteWorker.reap_child. This interferes with using python's subprocess module which apparently uses SIGCHLD handlers.
In zygote/worker.py, we set a SIGCHLD handler to reap children. Then we fork the child.
This means the child is runnig with a SIGCHLD handler that points to
ZygoteWorker.reap_child
. This interferes with using python'ssubprocess
module which apparently uses SIGCHLD handlers.This is fixed with python 2.7, http://bugs.python.org/issue9127
I propose adding ;
to
establish_signal_handlers
for the worker.