diff options
| author | Haris Gušić <[email protected]> | 2025-11-11 17:58:59 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-11 10:58:59 -0600 |
| commit | ca5126e24dbfc2a2cd4233332ad926ab97b7dca7 (patch) | |
| tree | 73770af39b0f3b94aea61a55fc97131475481e42 | |
| parent | fb2b3e567c62806d7b4df945140ecbbfab30f4d3 (diff) | |
| download | opencode-ca5126e24dbfc2a2cd4233332ad926ab97b7dca7.tar.gz opencode-ca5126e24dbfc2a2cd4233332ad926ab97b7dca7.zip | |
fix: TUI spawn: reset BUN_OPTIONS (#3606)
| -rw-r--r-- | packages/opencode/src/cli/cmd/tui/spawn.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/opencode/src/cli/cmd/tui/spawn.ts b/packages/opencode/src/cli/cmd/tui/spawn.ts index 29c9a3590..5be64ee98 100644 --- a/packages/opencode/src/cli/cmd/tui/spawn.ts +++ b/packages/opencode/src/cli/cmd/tui/spawn.ts @@ -48,6 +48,10 @@ export const TuiSpawnCommand = cmd({ stdout: "inherit", stderr: "inherit", stdin: "inherit", + env: { + ...process.env, + BUN_OPTIONS: "", + } }) await proc.exited await Instance.disposeAll() |
