MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / close

Method close

scripts/mcp_probe/probe.py:207–217  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

205 return resp, dt
206
207 def close(self) -> None:
208 try:
209 if self.proc.stdin is not None:
210 self.proc.stdin.close()
211 self.proc.wait(timeout=3)
212 except Exception:
213 self.proc.kill()
214 try:
215 self.stderr_file.close()
216 except Exception:
217 pass
218
219
220# ---------------------------------------------------------------------------- helpers

Callers 3

mainFunction · 0.95
run_tool_freshFunction · 0.95
mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected