Title: docs: document Windows stdio subprocess stdin handling by AndreKalberer · Pull Request #3079 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: docs: document Windows stdio subprocess stdin handling by AndreKalberer · Pull Request #3079 · modelcontextprotocol/python-sdk
X Title: docs: document Windows stdio subprocess stdin handling by AndreKalberer · Pull Request #3079 · modelcontextprotocol/python-sdk
Description: Summary document the Windows stdio subprocess hang when a child inherits the server stdin pipe show stdin=subprocess.DEVNULL for asyncio.create_subprocess_exec add a troubleshooting entry and link to it from the stdio run docs Addresses #671. Validation Reproduced the issue on Windows current main: a v2 MCPServer stdio tool that starts sys.executable -c "print('Successfully Call!')" without redirecting stdin timed out/faulted after about 7.8s. Confirmed the same repro succeeds in about 3.4s with stdin=subprocess.DEVNULL. py -3.13 -m uv run --frozen mkdocs build --strict AI disclosure AI assistance was used while preparing this PR. I reviewed the final change, ran the validation listed above, and take responsibility for it.
Open Graph Description: Summary document the Windows stdio subprocess hang when a child inherits the server stdin pipe show stdin=subprocess.DEVNULL for asyncio.create_subprocess_exec add a troubleshooting entry and link...
X Description: Summary document the Windows stdio subprocess hang when a child inherits the server stdin pipe show stdin=subprocess.DEVNULL for asyncio.create_subprocess_exec add a troubleshooting entry and link...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/3079
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:737385a3-39c3-845a-ee70-f2378c3381e8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 94D8:318105:9025B0:CB4622:6A624D45 |
| html-safe-nonce | 7bcad63e4f605decbb9206aae1523c9c171ff3a84a01b19e136dc75456feb171 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEQ4OjMxODEwNTo5MDI1QjA6Q0I0NjIyOjZBNjI0RDQ1IiwidmlzaXRvcl9pZCI6IjY1NDEzMTQ4MDk0MDE1OTMxNTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 13317f587d962d1192a057ef31affe7bb721e926d043f009038af727bd8a871d |
| hovercard-subject-tag | pull_request:4017938052 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/3079/files |
| twitter:image | https://avatars.githubusercontent.com/u/83852559?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/83852559?s=400&v=4 |
| og:image:alt | Summary document the Windows stdio subprocess hang when a child inherits the server stdin pipe show stdin=subprocess.DEVNULL for asyncio.create_subprocess_exec add a troubleshooting entry and link... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 77f5af7d0fa3843b1779a53f60ec016b3f962e46051fb05c2e9b608a8138eefb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d3ce7d369aae307e197872f810f80f3ed9051c78 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width