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