Skip to content

[Bug]: Empty cmd.exe windows constantly popping up on Windows during CLI execution #533

Description

@Oleks-a

Prerequisites

  • I have searched existing issues to avoid duplicates
  • I am using the latest version of CodeMie CLI
  • I have read the documentation

Bug Description

Description:

When using the codemie-gemini CLI on Windows, empty black cmd.exe windows constantly pop up and steal focus. This happens in standard CMD, PowerShell, and even inside the VS Code integrated terminal.

Expected behavior:

Background commands or child processes should run invisibly without spawning GUI console windows.

Suggested Fix:

Please ensure that any child_process calls (spawn, exec, execSync, etc.) include the windowsHide: true option in their configuration object when running on Windows environments.

Steps to Reproduce

npm install -g @codemieai/code
codemie --version
codemie setup
codemie install gemini
codemie-gemini

Expected Behavior

Background commands or child processes should run invisibly without spawning GUI console windows.

Actual Behavior

When using the codemie-gemini CLI on Windows, empty black cmd.exe windows constantly pop up and steal focus. This happens in standard CMD, PowerShell, and even inside the VS Code integrated terminal.

CodeMie CLI Version

0.15.0

Which agent are you using?

Google Gemini (codemie-gemini)

Which provider are you using?

AI/Run SSO

Model

No response

Node.js Version

v26.3.0

Operating System

Windows (native)

Configuration (Redacted)

Error Logs

Additional Context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions