(params: RuntimeNodeCommandStartParams)
| 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) |
nothing calls this directly
no test coverage detected