Function
output
(x: ChildProcess.CommandOutput | undefined)
Source from the content-addressed store, hash-verified
| 113 | Stream.isStream(x) ? "pipe" : x |
| 114 | |
| 115 | const output = (x: ChildProcess.CommandOutput | undefined): NodeChildProcess.IOType | undefined => |
| 116 | Sink.isSink(x) ? "pipe" : x |
| 117 | |
| 118 | const stdin = (opts: ChildProcess.CommandOptions): ChildProcess.StdinConfig => { |
| 119 | const cfg: ChildProcess.StdinConfig = { stream: "pipe", encoding: "utf-8", endOnDone: true } |
Tested by
no test coverage detected