[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows
Steve Dower
report at bugs.python.org
Sat Feb 29 07:35:11 EST 2020
Steve Dower <steve.dower at python.org> added the comment:
If you use subprocess to launch any process that is marked SUBSYSTEM_CONSOLE, Windows will create a new console for it. For example, "python.exe" is such a process.
Eryk's answer in the very first StackOverflow link shows how to create a STARTUPINFO parameter with the correct settings. We just want to add a Boolean argument to subprocess.Popen.__init__() that can add that setting automatically.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30082>
_______________________________________
More information about the Python-bugs-list
mailing list