From cf290a00648c4cb749c529dc4430624c7fe9c463 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Tue, 6 Nov 2012 15:10:34 +0100 Subject: [PATCH] Keep fireball from spreading its socket around --- library/fireball | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/fireball b/library/fireball index ecc1df4bbe9..e3a627915ea 100755 --- a/library/fireball +++ b/library/fireball @@ -151,7 +151,7 @@ def command(data): return dict(failed=True, msg='internal error: tmp_path is required') log("executing: %s" % data['cmd']) - p = subprocess.Popen(data['cmd'], shell=True, stdout=subprocess.PIPE) + p = subprocess.Popen(data['cmd'], shell=True, stdout=subprocess.PIPE, close_fds=True) (stdout, stderr) = p.communicate() if stdout is None: stdout = ''