MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / terminate

Method terminate

component-tests/util.py:47–50  ·  view source on GitHub ↗

Terminate the process if it is still running.

(self)

Source from the content-addressed store, hash-verified

45 return t
46
47 def terminate(self):
48 """Terminate the process if it is still running."""
49 if self.process.poll() is None:
50 self.process.terminate()
51
52 def cleanup(self):
53 """Terminate, wait for exit, join reader threads, and log output."""

Calls

no outgoing calls