[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

Eryk Sun report at bugs.python.org
Thu Oct 28 13:21:47 EDT 2021


Eryk Sun <eryksun at gmail.com> added the comment:

> is it feasible to just have one option that handles all cases?

I'm in favor of whatever has broad support and is least surprising for users. I like CREATE_NO_WINDOW, which is restricted to console applications. The alternative is hiding the window, like what we do with shell=True. But the new option would also hide the main window of many GUI apps, which may come as a surprise and is hardly ever desired behavior.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30082>
_______________________________________


More information about the Python-bugs-list mailing list