This commit is contained in:
Marc Beninca 2024-09-13 20:52:33 +02:00
parent 07699b08eb
commit c024c553b0
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -25,7 +25,7 @@ def run(*items: str | tuple[str]) -> subprocess.CompletedProcess:
def run_line(*items: str | tuple[str], charset: str = txt.CHARSET) -> str: def run_line(*items: str | tuple[str], charset: str = txt.CHARSET) -> str:
"""Run and return output line.""" """Run and return output line."""
lines = run_lines(get_tuples_args(*items), charset=charset) lines = run_lines(*items, charset=charset)
return lines[0] return lines[0]