Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/idank/explainshell
/ _which
Function
_which
tools/scan_bot_traffic.py:273–277 ·
view source on GitHub ↗
(binary: str)
Source
from the content-addressed store, hash-verified
271
272
273
def
_which(binary: str) -> bool:
274
return
(
275
subprocess.run([
"which"
, binary], capture_output=True, text=True).returncode
276
== 0
277
)
278
279
280
def
run_agent(agent: str, prompt: str) -> str:
Callers
1
run_agent
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected