Run docker command with streaming output, but don't raise exceptions on failure.
(cmd: list[str])
| 131 | |
| 132 | |
| 133 | def run_docker_command_no_fail(cmd: list[str]) -> int: |
| 134 | """Run docker command with streaming output, but don't raise exceptions on failure.""" |
| 135 | print(f"Executing: {' '.join(cmd)}") |
| 136 | proc = RunningProcess(cmd, env=get_docker_env(), auto_run=True) |
| 137 | |
| 138 | # Stream all output to stdout |
| 139 | with proc.line_iter(timeout=None) as it: |
| 140 | for line in it: |
| 141 | print(line) |
| 142 | |
| 143 | return cast(int, proc.wait()) |
| 144 | |
| 145 | |
| 146 | class DockerQEMURunner: |
nothing calls this directly
no test coverage detected