MCPcopy Create free account
hub / github.com/Ark0N/Codeman / tryExec

Function tryExec

src/web/self-update.ts:251–257  ·  view source on GitHub ↗

Run a command, returning trimmed stdout, or null on any error.

(cmd: string, args: string[], cwd?: string, timeout = EXEC_TIMEOUT_MS)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

commandExistsFunction · 0.85
detectSupervisorFunction · 0.85
getInstallInfoFunction · 0.85
fetchLatestTagViaGitFunction · 0.85
checkForUpdateFunction · 0.85
startUpdateFunction · 0.85

Calls 1

trimMethod · 0.45

Tested by

no test coverage detected