We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08808f3 commit 0dde4f1Copy full SHA for 0dde4f1
src/mcp/client/stdio/__init__.py
@@ -181,13 +181,6 @@ async def stdin_writer():
181
# 1. Close input stream to server
182
# 2. Wait for server to exit, or send SIGTERM if it doesn't exit in time
183
# 3. Send SIGKILL if still not exited
184
- if process.stdin:
185
- try:
186
- await process.stdin.aclose()
187
- except Exception:
188
- # stdin might already be closed, which is fine
189
- pass
190
-
191
try:
192
# Give the process time to exit gracefully after stdin closes
193
with anyio.fail_after(2.0):
0 commit comments