diff options
| author | William Deegan <bill@baddogconsulting.com> | 2017-05-28 20:55:51 (GMT) |
|---|---|---|
| committer | William Deegan <bill@baddogconsulting.com> | 2017-05-28 20:55:51 (GMT) |
| commit | d589b53b2875a1bf49bb9e52dba9deba4ef96243 (patch) | |
| tree | a5de6fe1bfb94fbab0b20671389250c7181ca4cd /src/engine/SCons/Script/SConscript.py | |
| parent | 13c6f4b75308666a589330c0a5ccb6a57672a407 (diff) | |
| download | SCons-d589b53b2875a1bf49bb9e52dba9deba4ef96243.zip SCons-d589b53b2875a1bf49bb9e52dba9deba4ef96243.tar.gz SCons-d589b53b2875a1bf49bb9e52dba9deba4ef96243.tar.bz2 | |
py2/3 changes to way popen is called based on which version of python we're running. The simplest is py3.6 which allows passing encoding, Other versions we disable universal_newlines as that causes python to use the default locale (cp1252) for streams from the command being run which breaks unicode characters output from scons. To resolve getting and requiring binary streams there's a method which will fix unicode/binary and also fix newlines to always be \n
Diffstat (limited to 'src/engine/SCons/Script/SConscript.py')
0 files changed, 0 insertions, 0 deletions
