MCPcopy Index your code
hub / github.com/dmno-dev/bumpy / tryRun

Function tryRun

packages/bumpy/src/utils/shell.ts:117–123  ·  view source on GitHub ↗
(cmd: string, opts?: { cwd?: string })

Source from the content-addressed store, hash-verified

115}
116
117export function tryRun(cmd: string, opts?: { cwd?: string }): string | null {
118 try {
119 return run(cmd, opts);
120 } catch {
121 return null;
122 }
123}
124
125// ---- Array-based commands (shell-injection safe) ----
126

Callers

nothing calls this directly

Calls 1

runFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…