Skip to content

Suppress console windows for local Windows MCP servers - #48238

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/84475e82999d91a431e09327d4f5639b59c01427
Sep 25, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/84475e82999d91a431e09327d4f5639b59c01427

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Suppress console windows for local Windows MCP servers

What changed

Expose Windows process creation flags on the shared command wrapper and use
CREATE_NO_WINDOW when launching local stdio MCP servers, including fallback
launches without Job Object containment. Preserve CREATE_SUSPENDED when
assigning the server to a Job Object before execution.

Testing

Add a Windows regression test covering direct launches and launches through
cmd.exe. Verify that the server has no console, initializes successfully,
returns tools, and exits after shutdown.

## What changed

Expose Windows process creation flags on the shared command wrapper and use
`CREATE_NO_WINDOW` when launching local stdio MCP servers, including fallback
launches without Job Object containment. Preserve `CREATE_SUSPENDED` when
assigning the server to a Job Object before execution.

## Testing

Add a Windows regression test covering direct launches and launches through
`cmd.exe`. Verify that the server has no console, initializes successfully,
returns tools, and exits after shutdown.

GitOrigin-RevId: 84475e82999d91a431e09327d4f5639b59c01427
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/84475e82999d91a431e09327d4f5639b59c01427 branch from 9859382 to 4b9e0cc Compare September 25, 2026 22:56
@copyberry
copyberry Bot merged commit 4b9e0cc into main Sep 25, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/84475e82999d91a431e09327d4f5639b59c01427 branch September 25, 2026 22:56
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 25, 2026
@jf3300
jf3300 deployed to issue-triage September 25, 2026 22:58 — with GitHub Actions Active
@jf3300
jf3300 deployed to issue-triage September 25, 2026 22:58 — with GitHub Actions Active
@jf3300
jf3300 deployed to issue-triage September 25, 2026 22:58 — with GitHub Actions Active
@Fireotics
Fireotics deployed to issue-triage September 25, 2026 23:01 — with GitHub Actions Active
@Fireotics
Fireotics deployed to issue-triage September 25, 2026 23:01 — with GitHub Actions Active
@Fireotics
Fireotics deployed to issue-triage September 25, 2026 23:01 — with GitHub Actions Active
@freeo
freeo deployed to issue-triage September 25, 2026 23:05 — with GitHub Actions Active
@freeo
freeo deployed to issue-triage September 25, 2026 23:05 — with GitHub Actions Active
@Fabio3rs
Fabio3rs deployed to issue-triage September 25, 2026 23:05 — with GitHub Actions Active
@Fabio3rs
Fabio3rs deployed to issue-triage September 25, 2026 23:05 — with GitHub Actions Active
@Fabio3rs
Fabio3rs deployed to issue-triage September 25, 2026 23:05 — with GitHub Actions Active
@3nk1dev
3nk1dev deployed to issue-triage September 25, 2026 23:08 — with GitHub Actions Active
@3nk1dev
3nk1dev deployed to issue-triage September 25, 2026 23:08 — with GitHub Actions Active
@3nk1dev
3nk1dev deployed to issue-triage September 25, 2026 23:08 — with GitHub Actions Active
@LameBaker
LameBaker deployed to issue-triage September 25, 2026 23:09 — with GitHub Actions Active
@LameBaker
LameBaker deployed to issue-triage September 25, 2026 23:09 — with GitHub Actions Active
@LameBaker
LameBaker deployed to issue-triage September 25, 2026 23:09 — with GitHub Actions Active
@LameBaker
LameBaker deployed to issue-triage September 25, 2026 23:10 — with GitHub Actions Active
@mguzman69
mguzman69 deployed to issue-triage September 25, 2026 23:11 — with GitHub Actions Active
@mguzman69
mguzman69 deployed to issue-triage September 25, 2026 23:11 — with GitHub Actions Active
@mguzman69
mguzman69 deployed to issue-triage September 25, 2026 23:11 — with GitHub Actions Active
@honzo90
honzo90 deployed to issue-triage September 25, 2026 23:15 — with GitHub Actions Active
@honzo90
honzo90 deployed to issue-triage September 25, 2026 23:15 — with GitHub Actions Active
@honzo90
honzo90 deployed to issue-triage September 25, 2026 23:15 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — 4b9e0cc7 Deployed Sep 25, 2026 by 5jzwj66s7b-stack via Generate label suggestions #48469
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.