From 6b5e0821bbf6f36d3c304e1c05cf12f143b3892d Mon Sep 17 00:00:00 2001 From: Yuxiang Zhu Date: Mon, 28 Aug 2023 08:08:00 +0800 Subject: T5519: Fix `vyos.utils.process.call` hangs See https://vyos.dev/T5519 for more information. --- python/vyos/utils/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/vyos/utils/process.py b/python/vyos/utils/process.py index 911547995..e09c7d86d 100644 --- a/python/vyos/utils/process.py +++ b/python/vyos/utils/process.py @@ -179,7 +179,7 @@ def rc_cmd(command, flag='', shell=None, input=None, timeout=None, env=None, return code, out def call(command, flag='', shell=None, input=None, timeout=None, env=None, - stdout=PIPE, stderr=PIPE, decode='utf-8'): + stdout=None, stderr=None, decode='utf-8'): """ A wrapper around popen, which print the stdout and will return the error code of a command -- cgit v1.2.3