diff options
author | Daniil Baturin <daniil@vyos.io> | 2025-02-07 17:53:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-07 17:53:07 +0000 |
commit | 5463cf3c3c960309dd518d79e9958dff18df3f1a (patch) | |
tree | 94ab2a3e5cba93bdaea3d04377c0f7b37e9b5dff | |
parent | edda97d0aa9a15e72627688908dc0058043f9d5d (diff) | |
parent | e47feb25a640b469623cfed26e1e4403d82adfa3 (diff) | |
download | vyos-1x-5463cf3c3c960309dd518d79e9958dff18df3f1a.tar.gz vyos-1x-5463cf3c3c960309dd518d79e9958dff18df3f1a.zip |
Merge pull request #4333 from HollyGurza/T6058
T6058: Fix popen command wrapper handling
-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 054088325..121b6e240 100644 --- a/python/vyos/utils/process.py +++ b/python/vyos/utils/process.py @@ -83,7 +83,7 @@ def popen(command, flag='', shell=None, input=None, timeout=None, env=None, ) wrapper = get_wrapper(vrf, netns, auth) - command = f'{wrapper} {command}' + command = f'{wrapper} {command}' if wrapper else command cmd_msg = f"cmd '{command}'" debug.message(cmd_msg, flag) |