初步修正命令行编译

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
2022-12-15 10:20:51 +08:00
parent 65384e5c57
commit 1e55f52bd0
5 changed files with 27 additions and 14 deletions

View File

@@ -436,6 +436,11 @@ def ARMCC_Version():
child = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
stdout, stderr = child.communicate()
try:
stdout = stdout.decode()
except Exception:
pass
'''
example stdout:
Product: MDK Plus 5.24