MCPcopy Create free account
hub / github.com/KmBase/ScienceReading / terminate

Method terminate

embedded/site-packages/psutil/__init__.py:1294–1303  ·  view source on GitHub ↗

Terminate the process with SIGTERM pre-emptively checking whether PID has been reused. On Windows this is an alias for kill().

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

test_process__repr__Method · 0.95
test_waitMethod · 0.95
test_negative_signalMethod · 0.95
test_wait_procsMethod · 0.45
assertProcessZombieMethod · 0.45
tearDownMethod · 0.45
test_terminateMethod · 0.45
test_wait_stoppedMethod · 0.45

Calls 3

_send_signalMethod · 0.95
_raise_if_pid_reusedMethod · 0.95
killMethod · 0.45

Tested by 13

test_process__repr__Method · 0.76
test_waitMethod · 0.76
test_negative_signalMethod · 0.76
test_wait_procsMethod · 0.36
tearDownMethod · 0.36
test_terminateMethod · 0.36
test_wait_stoppedMethod · 0.36
test_miscMethod · 0.36