summaryrefslogtreecommitdiff
path: root/setupinfo.py
diff options
context:
space:
mode:
authorscoder <none@none>2008-01-19 14:22:09 +0100
committerscoder <none@none>2008-01-19 14:22:09 +0100
commita4dff8001de63adaed13989d48963372b958b7af (patch)
treec9fa6f66d6ff0ef6d345c9ac8f132549d65f3bf0 /setupinfo.py
parent8856e802ebb8351aa056d24d1dcad8dd021ff75f (diff)
downloadpython-lxml-a4dff8001de63adaed13989d48963372b958b7af.tar.gz
[svn r3177] r3268@delle: sbehnel | 2008-01-19 14:21:46 +0100
do not use close_fds in Popen() as it is not portable --HG-- branch : trunk
Diffstat (limited to 'setupinfo.py')
-rw-r--r--setupinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setupinfo.py b/setupinfo.py
index 04e87a1b..ebbf8967 100644
--- a/setupinfo.py
+++ b/setupinfo.py
@@ -135,7 +135,7 @@ def flags(cmd):
_, rf, ef = os.popen3(cmd)
else:
# Python 2.4+
- p = subprocess.Popen(cmd, shell=True, close_fds=True,
+ p = subprocess.Popen(cmd, shell=True,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
rf, ef = p.stdout, p.stderr
errors = ef.read()