mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-25 22:18:24 +00:00
fix: print proper command on check_output
Note that the `check_output` command is mostly unused.
This commit is contained in:
parent
7541433729
commit
f95c394e38
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user