From 8bc22a3a68929d1d59ca83bfcb44b2f64ac0e00b Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Wed, 4 Mar 2026 08:58:46 +0100 Subject: [PATCH] lib.util.run_cmd(): Fix docstring The docstring of run_cmd()'s signature documents a wrong return value, fix that. Signed-off-by: Jan Lindemann --- src/python/jw/pkg/lib/util.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/python/jw/pkg/lib/util.py b/src/python/jw/pkg/lib/util.py index e327bfa8..f6fd3352 100644 --- a/src/python/jw/pkg/lib/util.py +++ b/src/python/jw/pkg/lib/util.py @@ -54,8 +54,9 @@ async def run_cmd( - otherwise -> decode stdout/stderr using this encoding Returns: - (stdout, stderr), each as a string/bytes or None - In PTY mode stderr is always None because PTY merges stdout/stderr. + (stdout, stderr, exit_status): + stdout: stderr each as a string/bytes or None + In PTY mode stderr is always None because PTY merges stdout/stderr. """ want_bytes = (output_encoding == "bytes")