7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-05-28 11:50:49 +00:00

fix: print proper command on check_output

Note that the `check_output` command is mostly unused.
This commit is contained in:
Régis Behmo 2022-10-26 16:46:04 +02:00
parent 7541433729
commit f95c394e38

View File

@ -235,7 +235,7 @@ def _shlex_join(*split_command: str) -> str:
def check_output(*command: str) -> bytes:
literal_command = " ".join(command)
literal_command = _shlex_join(*command)
click.echo(fmt.command(literal_command))
try:
return subprocess.check_output(command)