Commit 155adbdc authored by Mark Hammond's avatar Mark Hammond

Fix bug 231273 - [windows] os.popen doens't kill subprocess when interrupted

Don't pass CREATE_NEW_CONSOLE to CreateProcess(), meaning our child process is in the same "console group" and therefore interrupted by the same Ctrl+C that interrupts the parent.
parent 2f10cb8f
......@@ -3291,7 +3291,7 @@ _PyPopenCreateProcess(char *cmdstring,
NULL,
NULL,
TRUE,
CREATE_NEW_CONSOLE,
0, /* no new console so Ctrl+C kills child too */
NULL,
NULL,
&siStartInfo,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment