Message191866
The proper solution if you use pythonw.exe is to define sys.stdout/sys.stderr yourself in pythonw.exe::
sys.stdout = open('c:/temp/output.txt', 'w')
IOW, do the redirect from inside the program, don't rely on the shell which (by design?) does not work correctly with "/subsytem:windows" binaries.
Again, this is a workaround for 2.7, because no backward-compatible fix could be found. |
|
Date |
User |
Action |
Args |
2013-06-25 16:19:36 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, techtonik |
2013-06-25 16:19:36 | amaury.forgeotdarc | set | messageid: <1372177176.07.0.835847495272.issue18298@psf.upfronthosting.co.za> |
2013-06-25 16:19:36 | amaury.forgeotdarc | link | issue18298 messages |
2013-06-25 16:19:35 | amaury.forgeotdarc | create | |
|