提交 1d52d9be authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Another instance of string conversion.

This one worked on Linux, but not on Windows, for some reason.
上级 84c27f73
...@@ -1575,7 +1575,7 @@ class GCC_compiler(object): ...@@ -1575,7 +1575,7 @@ class GCC_compiler(object):
# as stdin (which is the default) results in the process # as stdin (which is the default) results in the process
# waiting forever without returning. For that reason, # waiting forever without returning. For that reason,
# we use a pipe, and use the empty string as input. # we use a pipe, and use the empty string as input.
(stdout, stderr) = p.communicate(input='') (stdout, stderr) = p.communicate(input=b(''))
if p.returncode != 0: if p.returncode != 0:
return None return None
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论