Skip to content

Commit fe08a35

Browse files
committed
fix: Clear BUN_OPTIONS when spawning TUI attach subprocess
1 parent 7df61a7 commit fe08a35

File tree

1 file changed

+4
-0
lines changed
  • packages/opencode/src/cli/cmd/tui

1 file changed

+4
-0
lines changed

packages/opencode/src/cli/cmd/tui/spawn.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ export const TuiSpawnCommand = cmd({
4848
stdout: "inherit",
4949
stderr: "inherit",
5050
stdin: "inherit",
51+
env: {
52+
...process.env,
53+
BUN_OPTIONS: "",
54+
}
5155
})
5256
await proc.exited
5357
await Instance.disposeAll()

0 commit comments

Comments
 (0)