fix(test): use sh -c for portable echo in unconfigured fd test

This commit is contained in:
Kit Langton
2026-03-23 13:25:39 -04:00
parent a9621936fa
commit 5da672be32
@@ -305,7 +305,7 @@ describe("cross-spawn spawner", () => {
test("returns empty stream for unconfigured fd", async () => {
const out = await runScoped(
Effect.gen(function* () {
const handle = yield* ChildProcess.make("echo", ["test"])
const handle = yield* ChildProcess.make("sh", ["-c", "echo test"])
const fd3Output = yield* decodeByteStream(handle.getOutputFd(3))
yield* handle.exitCode
return fd3Output