fix call to Popen()

This commit is contained in:
Yann Leboulanger 2008-03-10 22:11:43 +00:00
parent d26080a3dd
commit 1fd13ae4fa
1 changed files with 1 additions and 1 deletions

View File

@ -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()