On Windows, Python 3 will crash if it is launched by a non-console application. One example of this is apache/mod_wsgi under windows. The work around is to set the environmental variable PYTHONIOENCODING before invoking Python. This is all described in detail here: http://bugs.python.org/issue6501
<http://bugs.python.org/issue6501> I am encountering this same problem when I run my Python 3 program as a subprocess under Erlang. The PYTHONIOENCODING workaround works when I run my program using pythonw.exe, but it does *not* work on the cx-freeze version. I skimmed Win32GUI.c and it looks straightforward; I don't understand why the PYTHONIOENCODING workaround fails for cx-freeze. Does anybody have insights on this? I can easily recompile cx-freeze if anyone has code changes for me to try. Thanks, Dan.
------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________ cx-freeze-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
