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

Dieterle, Daniel Daniel.Dieterle at comsoft.aero
Wed Nov 2 13:46:21 CET 2011


Hi,

in the documentation
(http://docs.python.org/library/subprocess.html#subprocess.Popen.send_si
gnal) 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 .

A workaround using CTRL_C_EVENT nevertheless is described here:
http://stackoverflow.com/questions/7085604/sending-c-to-python-subproces
s-objects-on-windows/7980368#7980368
	
Bye,
Daniel.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20111102/245a4399/attachment.html>


More information about the docs mailing list