MCPcopy Create free account
hub / github.com/FastLED/FastLED / run_docker_command_no_fail

Function run_docker_command_no_fail

ci/docker_utils/qemu_esp32_docker.py:133–143  ·  view source on GitHub ↗

Run docker command with streaming output, but don't raise exceptions on failure.

(cmd: list[str])

Source from the content-addressed store, hash-verified

131
132
133def 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
146class DockerQEMURunner:

Callers

nothing calls this directly

Calls 3

get_docker_envFunction · 0.85
printFunction · 0.50
waitMethod · 0.45

Tested by

no test coverage detected