Commit 5b83b600 authored by Adam Groszer's avatar Adam Groszer

close_fds does not work on windows

parent a82b7c7b
......@@ -165,7 +165,7 @@ def _runsetup(setup, executable, *args):
p = subprocess.Popen(
[zc.buildout.easy_install._safe_arg(executable), setup] + args,
stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
close_fds=True, env=env)
close_fds=MUST_CLOSE_FDS, env=env)
out = p.stdout.read()
if p.wait():
print out
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment