diff --git a/rwx/ps/__init__.py b/rwx/ps/__init__.py index 67dd2bc..e45672e 100644 --- a/rwx/ps/__init__.py +++ b/rwx/ps/__init__.py @@ -25,8 +25,8 @@ def run(*items: str | tuple[str]) -> subprocess.CompletedProcess: def run_line(*items: str | tuple[str], charset: str = txt.CHARSET) -> str: """Run and return output line.""" - lines = run_lines(*items, charset=charset) - return lines[0] + line, *_ = run_lines(*items, charset=charset) + return line def run_lines(