diff --git a/build_tools/littlecheck.py b/build_tools/littlecheck.py index 8fe5841dd..19759745c 100755 --- a/build_tools/littlecheck.py +++ b/build_tools/littlecheck.py @@ -250,7 +250,12 @@ class TestRun(object): if self.config.verbose: print(self.subbed_command) proc = subprocess.Popen( - self.subbed_command, stdin=PIPE, stdout=PIPE, stderr=PIPE, shell=True + self.subbed_command, + stdin=PIPE, + stdout=PIPE, + stderr=PIPE, + shell=True, + close_fds=True, # For Python 2.6 as shipped on RHEL 6 ) stdout, stderr = proc.communicate() outlines = [