diff --git a/packages/opencode/src/bun/index.ts b/packages/opencode/src/bun/index.ts index 34f9386c3..48346385b 100644 --- a/packages/opencode/src/bun/index.ts +++ b/packages/opencode/src/bun/index.ts @@ -1,4 +1,3 @@ -import path from "path" import { Log } from "../util/log" export namespace BunProc { const log = Log.create({ service: "bun" }) @@ -13,6 +12,8 @@ export namespace BunProc { }) const result = Bun.spawn([which(), ...cmd], { ...options, + stdout: "pipe", + stderr: "pipe", env: { ...process.env, ...options?.env,