This commit is contained in:
Julius Marminge authored and maria-rcks committed 2026-08-03 11:44:56 -04:00
1 parent 51e5d3f6b7
commit 7949333a18
1 file changed
+1 -1
@@ -9,7 +9,6 @@ import { ChildProcessSpawner } from "effect/unstable/process";
import * as CodexError from "../errors.ts";
const encoder = new TextEncoder();
const decoder = new TextDecoder();
export const makeChildStdio = (handle: ChildProcessSpawner.ChildProcessHandle) =>
Stdio.make({
@@ -25,6 +24,7 @@ export const makeChildStdio = (handle: ChildProcessSpawner.ChildProcessHandle) =
export const makeInMemoryStdio = Effect.fn("makeInMemoryStdio")(function* () {
const input = yield* Queue.unbounded<Uint8Array, Cause.Done<void>>();
const output = yield* Queue.unbounded<string>();
const decoder = new TextDecoder();
return {
stdio: Stdio.make({