(filePath: string)
| 143 | } |
| 144 | |
| 145 | function scriptCommand(filePath: string): { command: string; args: string[] } { |
| 146 | if (process.platform === "win32") return { command: "powershell.exe", args: ["-ExecutionPolicy", "Bypass", "-File", filePath] } |
| 147 | return { command: process.env.SHELL || "/bin/bash", args: [filePath] } |
| 148 | } |
| 149 | |
| 150 | export function createRuntimeNodeLocalProcessAdapter(): RuntimeNodeProcessAdapter { |
| 151 | const local: LocalProcessState = { |