MCPcopy Create free account
hub / github.com/XTXMarkets/ternfs / wait_cmds

Function wait_cmds

common.py:59–65  ·  view source on GitHub ↗
(ps)

Source from the content-addressed store, hash-verified

57 return True
58
59def wait_cmds(ps):
60 done = [False]*len(ps)
61 while not all(done):
62 for i, p in enumerate(ps):
63 if done[i]:
64 continue
65 done[i] = wait_cmd(p, timeout=0.1)
66
67def run_cmd_unbuffered(*args, **kwargs):
68 p = subprocess.Popen(*args, **kwargs)

Callers 2

integration.pyFile · 0.85
ci.pyFile · 0.85

Calls 1

wait_cmdFunction · 0.85

Tested by

no test coverage detected