摘要: import subprocess compilePopen = subprocess.Popen('gcc haha',shell=True,stderr=subprocess.PIPE) compilePopen.wait() print('the status code is:',compilePopen.returncode) with open('log','w') as object: 阅读全文
posted @ 2019-10-24 10:09 anobscureretreat 阅读(646) 评论(0) 推荐(0)