MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / _run_shell

Function _run_shell

tests/test_version.py:42–43  ·  view source on GitHub ↗
(cmd: str, **kw)

Source from the content-addressed store, hash-verified

40
41
42def _run_shell(cmd: str, **kw) -> subprocess.CompletedProcess[str]:
43 return subprocess.run(shlex.split(cmd), **kw) # nosec
44
45
46def _capture_output(cmd: str) -> str:

Callers 2

_capture_outputFunction · 0.70
test_added_by_poetry_v2Function · 0.70

Calls 1

runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…