Skip to content

Desktop app: Console window flashes repeatedly even while idle (CREATE_NO_WINDOW missing) #22414

@heart-ktf

Description

@heart-ktf

Description

On Windows, a black console/terminal window briefly appears and disappears at regular intervals. This happens even when no prompt is sent — the app is idle.

Each flash corresponds to a subprocess invocation (git polling, file watching, LSP communication, etc.) that spawns a console window because the CREATE_NO_WINDOW flag is not set.

Expected behavior
Subprocesses should run silently without creating visible console windows. On Windows, this requires passing CREATE_NO_WINDOW (0x08000000) in ProcAttr.SysProcAttr when calling os/exec.Cmd.Start()

Plugins

No response

OpenCode version

Desktop app v1.4.3

Steps to reproduce

1.Open OpenCode Desktop on Windows
2.Leave the app idle (no prompt sent)
3.Observe black terminal windows flashing on screen periodically

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions