Description
After installing with bun install -g --trust @opencode/cli, run opencode2 in cmd or PowerShell. When opencode2 starts the background server, a foreground window keeps popping up and immediately closing (the window constantly steals focus, making it almost impossible to use).
Even if you exit the foreground CLI, it cannot be stopped. By inspecting with Process Explorer, I found that the background opencode.exe server process continuously launches tasklist.exe, and tasklist.exe creates a foreground console window that steals focus.
Plugins
No plugins that can run on V2 (none are compatible)
OpenCode version
v2.0.18
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Windows 11 25H2 x64
Terminal
Windows Terminal
Description
After installing with
bun install -g --trust @opencode/cli, runopencode2in cmd or PowerShell. When opencode2 starts the background server, a foreground window keeps popping up and immediately closing (the window constantly steals focus, making it almost impossible to use).Even if you exit the foreground CLI, it cannot be stopped. By inspecting with Process Explorer, I found that the background opencode.exe server process continuously launches tasklist.exe, and tasklist.exe creates a foreground console window that steals focus.
Plugins
No plugins that can run on V2 (none are compatible)
OpenCode version
v2.0.18
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Windows 11 25H2 x64
Terminal
Windows Terminal