Installing a new Windows system, I\'ve installed CygWin and 64 bit Python (2.7.3) in their default locations (c:\\cygwin and c:\\Python27\\python),
c:\\cygwin
c:\\Python27\\python
My solution involved writing a shell script to run the python app.
python file.py "$@" | tee /dev/null
That extra tee command (to nowhere) seems to fix the issue.