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

Function input

packages/core/src/cross-spawn-spawner.ts:112–113  ·  view source on GitHub ↗
(x: ChildProcess.CommandInput | undefined)

Source from the content-addressed store, hash-verified

110 opts.extendEnv ? { ...globalThis.process.env, ...opts.env } : opts.env
111
112 const input = (x: ChildProcess.CommandInput | undefined): NodeChildProcess.IOType | undefined =>
113 Stream.isStream(x) ? "pipe" : x
114
115 const output = (x: ChildProcess.CommandOutput | undefined): NodeChildProcess.IOType | undefined =>
116 Sink.isSink(x) ? "pipe" : x

Callers 1

stdiosFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected