Daniel Goertzen 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 the
PYTHONIOENCODING work-around doe
Daniel Goertzen 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 of the
app.
I am using
Changes by Daniel Goertzen :
--
nosy: +Daniel.Goertzen
___
Python tracker
<http://bugs.python.org/issue4708>
___
___
Python-bugs-list mailing list
Unsubscribe: