diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-28 18:49:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-28 18:49:44 +0200 |
commit | 710b928d6d992a8c6b5b123fca75979b3b47e457 (patch) | |
tree | 458e32a185217dd23215b66d4edeb30e747ef6de /python/vyos/utils | |
parent | d3edda22573fb9c9d1c469f14f5a3eec9ca512a5 (diff) | |
parent | 6b5e0821bbf6f36d3c304e1c05cf12f143b3892d (diff) | |
download | vyos-1x-710b928d6d992a8c6b5b123fca75979b3b47e457.tar.gz vyos-1x-710b928d6d992a8c6b5b123fca75979b3b47e457.zip |
Merge pull request #2180 from vfreex/fix-call-hangs
T5519: Fix `vyos.utils.process.call` hangs
Diffstat (limited to 'python/vyos/utils')
-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 |