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

Function _is_termux

Scripts/ButSystem.py:76–87  ·  view source on GitHub ↗

_is_termux. Internal helper function. This docstring was added automatically to improve maintainability. Returns: Varies.

()

Source from the content-addressed store, hash-verified

74
75Returns:
76 Varies.
77"""
78 return _run(["bash", "-lc", cmd], check=False, capture=capture)
79
80def _is_termux() -> bool:
81 """_is_termux.
82
83Internal helper function.
84
85This docstring was added automatically to improve maintainability.
86
87Returns:
88 Varies.
89"""
90 prefix = os.environ.get("PREFIX", "")

Callers 3

ensure_dependenciesFunction · 0.70
start_cloudflaredFunction · 0.70
start_tor_hidden_serviceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected