(prefix, stream, output)
| 6 | const cwd = new URL('..', import.meta.url) |
| 7 | |
| 8 | function forwardOutput(prefix, stream, output) { |
| 9 | stream.on('data', (chunk) => { |
| 10 | output.write(`${prefix}${chunk}`) |
| 11 | }) |
| 12 | } |
| 13 | |
| 14 | function start(name, command, args, extraEnv = {}) { |
| 15 | const child = spawn(command, args, { |