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 fab17dc commit e98a00dCopy full SHA for e98a00d
src/mcp/client/stdio/win32.py
@@ -169,6 +169,8 @@ async def terminate_windows_process(process: Process | FallbackProcess):
169
parent = psutil.Process(process.pid)
170
except psutil.NoSuchProcess:
171
return
172
+ except Exception:
173
+ pass # Optionally log the exception
174
175
children = parent.children(recursive=True)
176
await terminate_psutil_process(children)
0 commit comments