From 7daaabdedb747e0ee0d44cb9750cc34c0ae6e547 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Wed, 7 May 2014 08:09:46 -0500 Subject: Close fds when running commands from the accelerate daemon Fixes #7307 --- library/utilities/accelerate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library') diff --git a/library/utilities/accelerate b/library/utilities/accelerate index 5a8c96c64a..bd62471316 100644 --- a/library/utilities/accelerate +++ b/library/utilities/accelerate @@ -479,7 +479,7 @@ class ThreadedTCPRequestHandler(SocketServer.BaseRequestHandler): if executable: use_unsafe_shell = True - rc, stdout, stderr = self.server.module.run_command(data['cmd'], executable=executable, use_unsafe_shell=use_unsafe_shell) + rc, stdout, stderr = self.server.module.run_command(data['cmd'], executable=executable, use_unsafe_shell=use_unsafe_shell, close_fds=True) if stdout is None: stdout = '' if stderr is None: -- cgit v1.2.1