bytebeat_compiler.py: reformat command printing
This commit is contained in:
parent
e6afd3574b
commit
d51ee9e0d6
@ -89,7 +89,7 @@ def substitute_vars(replacements: Dict[str, Union[bool, str]], text: str,
|
|||||||
return text
|
return text
|
||||||
|
|
||||||
def run_command(*command: list[str]) -> None:
|
def run_command(*command: list[str]) -> None:
|
||||||
print(command_line_join(command), flush=True)
|
print("[>]", command_line_join(command), flush=True)
|
||||||
if subprocess.run(command).returncode != EXIT_SUCCESS:
|
if subprocess.run(command).returncode != EXIT_SUCCESS:
|
||||||
raise SystemExit(EXIT_FAILURE)
|
raise SystemExit(EXIT_FAILURE)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user