fix call to Popen()
This commit is contained in:
parent
d26080a3dd
commit
1fd13ae4fa
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue