MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / bash

Function bash

tests/utils/cmd.py:11–15  ·  view source on GitHub ↗

Returns commands that will run in a bash script.

(command: str)

Source from the content-addressed store, hash-verified

9
10
11def bash(command: str) -> List[str]:
12 """
13 Returns commands that will run in a bash script.
14 """
15 return ["bash", "-c", command]

Callers 15

test_coupling_alloc1Function · 0.85
test_coupling_alloc2Function · 0.85
test_coupling_combinedFunction · 0.85
test_single_depFunction · 0.85
test_dep_failedFunction · 0.85
test_long_chain_of_depsFunction · 0.85
test_submit_envFunction · 0.85
test_submit_stdioFunction · 0.85
test_wait_for_jobFunction · 0.85
test_get_failed_tasksFunction · 0.85

Calls

no outgoing calls

Tested by 15

test_coupling_alloc1Function · 0.68
test_coupling_alloc2Function · 0.68
test_coupling_combinedFunction · 0.68
test_single_depFunction · 0.68
test_dep_failedFunction · 0.68
test_long_chain_of_depsFunction · 0.68
test_submit_envFunction · 0.68
test_submit_stdioFunction · 0.68
test_wait_for_jobFunction · 0.68
test_get_failed_tasksFunction · 0.68