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

Karl Richter report at bugs.python.org
Wed Dec 2 22:29:39 EST 2015


New submission from Karl Richter:

The [documentation of subprocess](https://docs.python.org/3.6/library/subprocess.html) doesn't contain a substantial statement how signals are handled which are send to the python interpreter. After reading the referenced docs it should be clear

  * whether a signal is passed to both the parent and the child (If yes in which order? What happens if the child process spawns a process which isn't controlled by python?)
  * whether signal handlers are inherited (judging from the `restore_signals` parameter some are overwritten -> what's the purpose of this?). Are changes of a signal handler in the parent reflected in the child?

----------
assignee: docs at python
components: Documentation
messages: 255802
nosy: docs at python, krichter
priority: normal
severity: normal
status: open
title: Add an explanation what happens with subprocess parent and child processes when signals are sent
versions: Python 3.6

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


More information about the New-bugs-announce mailing list