Skip to content

Suppressing console window pop-ups on Windows OS #214

Description

@praneetloke

Hi, I am working on a cross-platform desktop app that integrates ACP. On Windows, when the desktop app runs an ACP command a console window is spawned.

'C:\Users\**\AppData\Roaming\dev.moment.impulse.staging\adapters\.node\node-v24.16.0-win-x64\node.exe' 'C:\Users\**\AppData\Roaming\dev.moment.impulse.staging\adapters\.node\node-v24.16.0-win-x64\node_modules\npm\bin\npx-cli.js' --yes @agentclientprotocol/claude-agent-acp@0.47.0

Suppressing this console window requires setting a creation flag. Would you consider setting the creation flag CREATE_NO_WINDOW for Windows platforms, by default? I suppose this needs to run in spawn_process.

#[cfg(target_os = "windows")]
{
    use std::os::windows::process::CommandExt;
    cmd.creation_flags(0x08000000); // CREATE_NO_WINDOW
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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