提交 2c609529 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Update comment after code review.

上级 13c43183
...@@ -14,8 +14,12 @@ def call_subprocess_Popen(command, **params): ...@@ -14,8 +14,12 @@ def call_subprocess_Popen(command, **params):
except AttributeError: except AttributeError:
startupinfo.dwFlags |= subprocess._subprocess.STARTF_USESHOWWINDOW startupinfo.dwFlags |= subprocess._subprocess.STARTF_USESHOWWINDOW
# Under Windows 7 64-bits, Anaconda's g++ is not found unless # Anaconda for Windows does not always provide .exe files
# specifying "shell=True". # in the PATH, they also have .bat files that call the corresponding
# executable. For instance, "g++.bat" is in the PATH, not "g++.exe"
# Unless "shell=True", "g++.bat" is not executed when trying to
# execute "g++" without extensions.
# (Executing "g++.bat" explicitly would also work.)
params['shell'] = True params['shell'] = True
proc = subprocess.Popen(command, startupinfo=startupinfo, **params) proc = subprocess.Popen(command, startupinfo=startupinfo, **params)
return proc return proc
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论