[issue25787] Add an explanation what happens with subprocess parent and child processes when signals are sent

Martin Panter report at bugs.python.org
Wed Dec 9 05:32:22 EST 2015


Martin Panter added the comment:

I think Karl’s original report was mainly about normal signal handling in the long term in the child, i.e. behaviour after exec() succeeds.

Ian, your problem sounds more like a bug or unfortunate quirk of the window between fork() and exec(). Maybe it is possible to solve it by blocking or resetting signal handlers, or using posix_spawn() (Issue 20104).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25787>
_______________________________________


More information about the Python-bugs-list mailing list