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

Eli Bendersky eliben at gmail.com
Sun Nov 6 04:28:29 CET 2011


>
>
> in the documentation (*
> http://docs.python.org/library/subprocess.html#subprocess.Popen.send_signal
> *<http://docs.python.org/library/subprocess.html#subprocess.Popen.send_signal>)
> is a bug.
>
> CTRL_C_EVENT can not be sent to processes started with a creationflags
> parameter which includes* CREATE_NEW_PROCESS_GROUP*. Why can be read in
> the msdn documentation *
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms683155%28v=vs.85%29.aspx
> *<http://msdn.microsoft.com/en-us/library/windows/desktop/ms683155%28v=vs.85%29.aspx>.
>
> A workaround using CTRL_C_EVENT nevertheless is described here:
> *
> http://stackoverflow.com/questions/7085604/sending-c-to-python-subprocess-objects-on-windows/7980368#7980368
> *<http://stackoverflow.com/questions/7085604/sending-c-to-python-subprocess-objects-on-windows/7980368#7980368>
>
>

Hi Daniel,

If what you say is true (and I assume it is), it may be a problem with the
implementation, not only the documentation. Could you perchance reproduce
this? Perhaps an actual bug report on subprocess should be opened, and not
only a documentation fix.

Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20111106/c82a2bf6/attachment.html>


More information about the docs mailing list