[docs] Bug in documentation of module subprocess, method send_signal

Eli Bendersky eliben at gmail.com
Tue Nov 8 04:23:33 CET 2011


> it's not a problem of implementation, because there is no way of killing an
> individual process with the CTRL-C-EVENT signal.
>
> I do not know why the subprocess.CREATE_NEW_PROCESS_GROUP parameter was
> introduced. But it is useless for terminating a process with os.kill() in
> combination with signal.SIGTERM, which corresponds to a CTRL-C-EVENT.
> A CTRL-C-EVENT is only forwarded to the process if the process group is
> zero. Therefore the Note in the documentation on Popen.send_signal() is
> wrong.

Daniel,
I've opened issue http://bugs.python.org/issue13368 to track this.
Thanks for the report,
Eli


More information about the docs mailing list