MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / which

Function which

openclaw-plugin/src/index.js:44–50  ·  view source on GitHub ↗
(cmd)

Source from the content-addressed store, hash-verified

42// ── Python dependency management ─────────────────────────────────────
43
44function which(cmd) {
45 try {
46 return execSync(`which ${cmd}`, { encoding: "utf-8", stdio: ["pipe", "pipe", "pipe"] }).trim();
47 } catch {
48 return null;
49 }
50}
51
52function isPythonPackageInstalled(pythonPath) {
53 try {

Callers 1

ensurePythonDepsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected