diff --git a/src/client/stdio.ts b/src/client/stdio.ts index 1871091f..af9841fd 100644 --- a/src/client/stdio.ts +++ b/src/client/stdio.ts @@ -112,6 +112,7 @@ export class StdioClientTransport implements Transport { env: this._serverParams.env ?? getDefaultEnvironment(), stdio: ["pipe", "pipe", this._serverParams.stderr ?? "inherit"], shell: false, + detached: process.platform === "win32", signal: this._abortController.signal, }, );