diff options
author | Yuxiang Zhu <vfreex@gmail.com> | 2023-08-28 08:08:00 +0800 |
---|---|---|
committer | Yuxiang Zhu <vfreex@gmail.com> | 2023-08-28 08:08:00 +0800 |
commit | 6b5e0821bbf6f36d3c304e1c05cf12f143b3892d (patch) | |
tree | 458e32a185217dd23215b66d4edeb30e747ef6de | |
parent | d3edda22573fb9c9d1c469f14f5a3eec9ca512a5 (diff) | |
download | vyos-1x-6b5e0821bbf6f36d3c304e1c05cf12f143b3892d.tar.gz vyos-1x-6b5e0821bbf6f36d3c304e1c05cf12f143b3892d.zip |
T5519: Fix `vyos.utils.process.call` hangs
See https://vyos.dev/T5519 for more information.
-rw-r--r-- | python/vyos/utils/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |