MCPcopy Index your code
hub / github.com/python-cmd2/cmd2 / terminate

Method terminate

cmd2/utils.py:562–564  ·  view source on GitHub ↗

Terminate the process.

(self)

Source from the content-addressed store, hash-verified

560 return
561
562 def terminate(self) -> None:
563 """Terminate the process."""
564 self._proc.terminate()
565
566 def wait(self) -> None:
567 """Wait for the process to finish."""

Callers 1

Calls

no outgoing calls

Tested by 1