Daniel Goertzen daniel.goert...@gmail.com added the comment:
It turns out that cx-freeze deliberately sets Py_IgnoreEnvironmentFlag to
ensure that the final executable is really an isolated, standalone executable
(ie, it can't be subverted by setting PYTHONPATH.) Therefore
Daniel Goertzen daniel.goert...@gmail.com added the comment:
I run into this problem when I start a Python app as a subprocess from Erlang
(open_port() function). The PYTHONIOENCODING fix works when I launch my py app
via pythonw.exe, but it does *not* work when I use the cx-freeze version
Changes by Daniel Goertzen daniel.goert...@gmail.com:
--
nosy: +Daniel.Goertzen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4708
___
___
Python