MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / _run

Function _run

Scripts/Developer Base/Free Internet.py:72–77  ·  view source on GitHub ↗
(cmd: List[str])

Source from the content-addressed store, hash-verified

70
71# ---------------- bootstrap ----------------
72def _run(cmd: List[str]) -> bool:
73 try:
74 res = subprocess.run(cmd, check=False)
75 return res.returncode == 0
76 except Exception:
77 return False
78
79
80def which(name: str) -> Optional[str]:

Callers 4

ensure_python_depsFunction · 0.70
ensure_opensslFunction · 0.70
install_tor_supportFunction · 0.70
browser_update_toolsFunction · 0.70

Calls 1

runMethod · 0.45

Tested by

no test coverage detected