[issue13368] Possible problem in documentation of module subprocess, method send_signal

2021-02-24 Thread Eryk Sun
Eryk Sun added the comment: Popen.send_signal() documents that sending CTRL_C_EVENT (cancel) to a process group is possible, which is clearly a true statement and easily demonstrated. OTOH, the Windows documentation of GenerateConsoleCtrlEvent() claims it's not possible. If you know what

[issue13368] Possible problem in documentation of module subprocess, method send_signal

2015-12-04 Thread Eryk Sun
Eryk Sun added the comment: You can send CTRL_C_EVENT to a process group. But it requires the group leader to manually enable Ctrl+C handling. Initially it's disabled when creating a process with CREATE_NEW_PROCESS_GROUP. The attached script demonstrates sending CTRL_C_EVENT to a process

[issue13368] Possible problem in documentation of module subprocess, method send_signal

2014-03-12 Thread Nitika Agarwal
Nitika Agarwal added the comment: Hi, I would like to propose a patch for this. -- nosy: +nitika ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13368 ___

[issue13368] Possible problem in documentation of module subprocess, method send_signal

2013-08-03 Thread Eli Bendersky
Eli Bendersky added the comment: Brian - gentle ping -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13368 ___ ___ Python-bugs-list mailing list

[issue13368] Possible problem in documentation of module subprocess, method send_signal

2011-11-11 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Brian, I see this text (along with the implementation) was added by you in 60197:0ab89e8bdedc Could you state your opinion on this issue? -- nosy: +brian.curtin ___ Python tracker

[issue13368] Possible problem in documentation of module subprocess, method send_signal

2011-11-11 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: But it is useless for terminating a process with os.kill() in combination with signal.SIGTERM, which corresponds to a CTRL-C-EVENT. SIGTERM does not correspond to CTRL_C_EVENT. They may be similar in what they do, but os.kill on Windows only

[issue13368] Possible problem in documentation of module subprocess, method send_signal

2011-11-07 Thread Eli Bendersky
New submission from Eli Bendersky eli...@gmail.com: docs@ list report by Daniel Dieterle: in the documentation (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