修正切换scons版本(比如最新的4.3.0)后,编译时在"scons: Reading SConscript files ..."后打印出"b''"的问题

This commit is contained in:
liruncong
2022-02-23 20:45:27 +08:00
parent a0fadd4e5a
commit ed712069ef

View File

@@ -113,7 +113,7 @@ def GCCResult(rtconfig, str):
stdout, stderr = child.communicate() stdout, stderr = child.communicate()
# print(stdout) # print(stdout)
if stderr != '': if stderr != '' and stderr != b'':
print(stderr) print(stderr)
have_fdset = 0 have_fdset = 0