(command)
| 27 | /** @internal */ |
| 28 | export const makeExecutor = (start: _CommandExecutor.CommandExecutor["start"]): _CommandExecutor.CommandExecutor => { |
| 29 | const stream: _CommandExecutor.CommandExecutor["stream"] = (command) => |
| 30 | Stream.unwrapScoped(Effect.map(start(command), (process) => process.stdout)) |
| 31 | const streamLines: _CommandExecutor.CommandExecutor["streamLines"] = (command, encoding) => { |
| 32 | const decoder = new TextDecoder(encoding) |
| 33 | return Stream.splitLines( |
no test coverage detected