提交 04aa2ef9 authored 作者: Frederic's avatar Frederic

Make sure we wait for the end of the call.

上级 a8edc1c6
...@@ -1609,6 +1609,7 @@ class GCC_compiler(object): ...@@ -1609,6 +1609,7 @@ class GCC_compiler(object):
try: try:
p = call_subprocess_Popen(cmd, stderr=subprocess.PIPE) p = call_subprocess_Popen(cmd, stderr=subprocess.PIPE)
p.wait()
compile_stderr = p.communicate()[1] compile_stderr = p.communicate()[1]
except Exception: except Exception:
# An exception can occur e.g. if `g++` is not found. # An exception can occur e.g. if `g++` is not found.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论