This commit is contained in:
Marc Beninca 2024-09-13 21:11:24 +02:00
parent c024c553b0
commit 0e2b638bbb
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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(