Skip to content

Windows selected app launch should hide subprocess windows #31938

Closed as not planned

Description

@hereswilson

Description

While checking #31629, I found a related Windows Desktop path: opening a file with a selected app can spawn subprocesses for app resolution or launch. Before the fix in #31933, this path did not consistently use hidden subprocess creation.

The issue is to make this path use hidden subprocess creation so it cannot create a console window when the resolved command is a console program or shim.

This is separate from the shell tool and MCP subprocess path described in #31629.

Plugins

No response

OpenCode version

Current dev while investigating #31629.

Steps to reproduce

  1. On Windows Desktop, open a file with a selected app.
  2. Trigger selected app resolution or launch through a console executable or shim, such as where, .cmd, or .bat.
  3. This path should hide those subprocesses consistently.

Screenshot and/or share link

No response

Operating System

Windows 10/11

Terminal

No response

Activity

  1. github-actions commented on Jun 11, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Since #31938 explicitly calls out a separate code path (selected app resolution/launch via where) not covered by #31629, it may still be a valid distinct issue — but please confirm with the maintainers whether this should be tracked as a follow-up on #31629 instead.

  2. changed the title [-]Windows selected app launch can flash subprocess console windows[/-] [+]Windows selected app launch should hide subprocess windows[/+] on Jun 11, 2026
  3. github-actions commented on Aug 11, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions