[issue9390] Error in sys.excepthook on windows when redirecting output of the script

Sijin Joseph report at bugs.python.org
Tue Apr 26 15:01:38 CEST 2011


Sijin Joseph <sijinjoseph at gmail.com> added the comment:

@Amaury - That sounds exactly like the issue described.

To summarize the error is caused because in some versions of windows there is a bug that causes the handles to stdin/stdout to not be inherited correctly for apps run from the console "via file association".

This is the kb article, http://support.microsoft.com/default.aspx?kbid=321788

In fact looks like this issue was discussed in the Python mailing list in 2004 as well, see http://mail.python.org/pipermail/python-bugs-list/2004-August/024923.html

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9390>
_______________________________________


More information about the Python-bugs-list mailing list