From 1fd13ae4fa4a4e958a24e6a65908528e3e85eb19 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 10 Mar 2008 22:11:43 +0000 Subject: [PATCH] fix call to Popen() --- src/common/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/helpers.py b/src/common/helpers.py index e6f36ab00..4f4f0a625 100644 --- a/src/common/helpers.py +++ b/src/common/helpers.py @@ -756,7 +756,7 @@ def get_os_info(): full_path_to_executable = is_in_path(executable, return_abs_path = True) if full_path_to_executable: command = executable + params - p = Popen([command], shell=True, stdin=subprocess.PIPE, + p = subprocess.Popen([command], shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, close_fds=True) p.wait() output = temp_failure_retry(p.stdout.readline).strip()