Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
test_proc_reader_terminate
Function · 0.80
Calls
no outgoing calls
Tested by
1
test_proc_reader_terminate
Function · 0.64