MCPcopy Index your code
hub / github.com/anomalyco/opencode / output

Function output

packages/core/src/cross-spawn-spawner.ts:115–116  ·  view source on GitHub ↗
(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 }

Callers 1

stdiosFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected