MCPcopy
hub / github.com/datascale-ai/opentalking / run

Function run

scripts/benchmark_opentalking_e2e.py:27–28  ·  view source on GitHub ↗
(cmd: list[str], *, cwd: Path | None = None, env: dict[str, str] | None = None)

Source from the content-addressed store, hash-verified

25
26
27def run(cmd: list[str], *, cwd: Path | None = None, env: dict[str, str] | None = None) -> subprocess.CompletedProcess[str]:
28 return subprocess.run(cmd, cwd=cwd, env=env, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
29
30
31def run_shell(cmd: str, *, cwd: Path | None = None, env: dict[str, str] | None = None) -> subprocess.CompletedProcess[str]:

Callers 9

gpu_infoFunction · 0.70
gpu_device_mem_gbFunction · 0.70
gpu_process_mem_recordsFunction · 0.70
mux_audio_into_videoFunction · 0.70
media_file_has_streamsFunction · 0.70
probe_media_streamsFunction · 0.70
normalize_webrtc_sampleFunction · 0.70
load_audio_durationFunction · 0.70
run_onceFunction · 0.70

Calls 1

runMethod · 0.45

Tested by

no test coverage detected