This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author torsten
Recipients torsten
Date 2013-01-10.17:42:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357839740.51.0.95267360969.issue16921@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation of CREATE_NEW_CONSOLE at http://docs.python.org/3/library/subprocess.html#subprocess.CREATE_NEW_CONSOLE states:

    This flag is always set when Popen is created with shell=True.

This does not fit the code which does

    if (_subprocess.GetVersion() >= 0x80000000 or os.path.basename(comspec).lower() == "command.com"):
        # Win9x, or using command.com on NT. We need to
        creationflags |= _subprocess.CREATE_NEW_CONSOLE

So the statement is only true on very old versions on Windows. I suggest to fix the documentation (patch attached) or to remove that obsolete hack (and drop support for Windows <= NT).
History
Date User Action Args
2013-01-10 17:42:20torstensetrecipients: + torsten
2013-01-10 17:42:20torstensetmessageid: <1357839740.51.0.95267360969.issue16921@psf.upfronthosting.co.za>
2013-01-10 17:42:20torstenlinkissue16921 messages
2013-01-10 17:42:19torstencreate