fix(gateway): prevent reconnect race and globally hide windows subprocess console

This commit is contained in:
Haze
2026-03-02 19:40:16 +08:00
parent dfdbde374d
commit 3596464803
7 changed files with 15 additions and 25 deletions

View File

@@ -269,6 +269,7 @@ export function generateCompletionCache(): void {
},
stdio: 'ignore',
detached: false,
windowsHide: true,
});
child.on('close', (code) => {
@@ -305,7 +306,8 @@ export function installCompletionToProfile(): void {
},
stdio: 'ignore',
detached: false,
},
windowsHide: true,
}
);
child.on('close', (code) => {