mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 17:23:36 +02:00
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 <jan@janware.com>
This commit is contained in:
parent
9373550af6
commit
8bc22a3a68
1 changed files with 3 additions and 2 deletions
|
|
@ -54,8 +54,9 @@ async def run_cmd(
|
||||||
- otherwise -> decode stdout/stderr using this encoding
|
- otherwise -> decode stdout/stderr using this encoding
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
(stdout, stderr), each as a string/bytes or None
|
(stdout, stderr, exit_status):
|
||||||
In PTY mode stderr is always None because PTY merges stdout/stderr.
|
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")
|
want_bytes = (output_encoding == "bytes")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue