Message213650
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. |
|
Date |
User |
Action |
Args |
2014-03-15 11:52:16 | eric.smith | set | recipients:
+ eric.smith, terry.reedy, r.david.murray, docs@python, Jovik |
2014-03-15 11:52:16 | eric.smith | set | messageid: <1394884336.24.0.280247855695.issue20927@psf.upfronthosting.co.za> |
2014-03-15 11:52:16 | eric.smith | link | issue20927 messages |
2014-03-15 11:52:15 | eric.smith | create | |
|