(command: list[str])
| 12 | |
| 13 | |
| 14 | def run_command(command: list[str]) -> int: |
| 15 | print("$ " + " ".join(command)) |
| 16 | returncode = subprocess.run( |
| 17 | command, stdout=sys.stdout, stderr=sys.stderr |
| 18 | ).returncode |
| 19 | print() |
| 20 | return returncode |
| 21 | |
| 22 | |
| 23 | def run(): |