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

Function startScript

projects/runtime-node/src/localProcess.ts:171–182  ·  view source on GitHub ↗
(params: RuntimeNodeScriptStartParams)

Source from the content-addressed store, hash-verified

169 })
170 },
171 async startScript(params: RuntimeNodeScriptStartParams) {
172 const filePath = await scriptFile(params.script)
173 const command = scriptCommand(filePath)
174 return startChild(local, {
175 ...command,
176 cwd: params.cwd,
177 env: params.env,
178 timeoutMs: params.timeoutMs,
179 label: filePath,
180 tempScriptPath: filePath,
181 })
182 },
183 async list() {
184 return {
185 processes: [...local.active.entries()].map(([id, state]) => ({

Callers

nothing calls this directly

Calls 3

scriptFileFunction · 0.85
scriptCommandFunction · 0.85
startChildFunction · 0.85

Tested by

no test coverage detected