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 eric.smith
Recipients Jovik, docs@python, eric.smith, r.david.murray, terry.reedy
Date 2014-03-15.11:52:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394884336.24.0.280247855695.issue20927@psf.upfronthosting.co.za>
In-reply-to
Content
In the first example, you switch from "./app" to "app.exe" when using shell=True.

What happens to any of your examples if you add ".exe" without shell=True?

Popen eventually calls CreateProcess on Windows. From: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx, describing the lpApplicationName  parameter: "This parameter must include the file name extension; no default extension is assumed."

Running the shell though, you don't need the extension.
History
Date User Action Args
2014-03-15 11:52:16eric.smithsetrecipients: + eric.smith, terry.reedy, r.david.murray, docs@python, Jovik
2014-03-15 11:52:16eric.smithsetmessageid: <1394884336.24.0.280247855695.issue20927@psf.upfronthosting.co.za>
2014-03-15 11:52:16eric.smithlinkissue20927 messages
2014-03-15 11:52:15eric.smithcreate