Commit 470fe4e
fix: suppress console window for stdio MCP servers in release builds
The gateway's StdioTransport was missing the CREATE_NO_WINDOW flag when
spawning child processes. In release builds, the Tauri app uses
windows_subsystem = "windows" (GUI subsystem), which causes Windows to
allocate a new visible console for each spawned console-subsystem child
process. This adds the same CREATE_NO_WINDOW (0x08000000) creation flag
already used in the mcpmux-mcp crate's transport.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>1 parent 2b4f90a commit 470fe4e
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
128 | 138 | | |
129 | 139 | | |
130 | 140 | | |
| |||
0 commit comments