修正切换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
1 changed files with 1 additions and 1 deletions

View File

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