Skip to content

Commit eaa688b

Browse files
authored
Merge pull request #1184 from boberfly/python3_build_fix
Build: Python 3 bytes to str fix
2 parents 23f893c + 9c81a02 commit eaa688b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SConstruct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ Help( o.GenerateHelpText( env ) )
13821382

13831383
def getPythonConfig( env, flags ) :
13841384

1385-
f = subprocess.Popen( env["PYTHON_CONFIG"] + " " + flags, env=env["ENV"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True )
1385+
f = subprocess.Popen( env["PYTHON_CONFIG"] + " " + flags, env=env["ENV"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True, universal_newlines=True )
13861386
stdOut, stdErr = f.communicate()
13871387
r = stdOut.strip()
13881388
if f.returncode :

0 commit comments

Comments
 (0)