Stop using close_fds. The underlying implementation is braindead and
peforms horribly on systems with a high limit on the max number of
open file descriptors. Unless we have a specific reason for using it
we just shouldn't.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1226 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/utils.py b/server/utils.py
index 75c4725..5774fdc 100644
--- a/server/utils.py
+++ b/server/utils.py
@@ -250,7 +250,7 @@
"""
result = CmdResult(command)
sp = subprocess.Popen(command, stdout=subprocess.PIPE,
- stderr=subprocess.PIPE, close_fds=True,
+ stderr=subprocess.PIPE,
shell=True, executable="/bin/bash")
stdout_file = StringIO.StringIO()
stderr_file = StringIO.StringIO()