Skip to content

The open source coding agent.

TypeScript

do not output bunproc

Dax Raade3ad6a069861
diff --git a/packages/opencode/src/bun/index.ts b/packages/opencode/src/bun/index.ts
index 34f9386c358..48346385bbd 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,