MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / startCommand

Function startCommand

projects/runtime-node/src/localProcess.ts:161–170  ·  view source on GitHub ↗
(params: RuntimeNodeCommandStartParams)

Source from the content-addressed store, hash-verified

159 return () => local.listeners.delete(listener)
160 },
161 startCommand(params: RuntimeNodeCommandStartParams) {
162 return startChild(local, {
163 command: params.cmd,
164 args: params.args ?? [],
165 cwd: params.cwd,
166 env: params.env,
167 timeoutMs: params.timeoutMs,
168 label: [params.cmd, ...(params.args ?? [])].join(" "),
169 })
170 },
171 async startScript(params: RuntimeNodeScriptStartParams) {
172 const filePath = await scriptFile(params.script)
173 const command = scriptCommand(filePath)

Callers

nothing calls this directly

Calls 1

startChildFunction · 0.85

Tested by

no test coverage detected