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

Method is_running

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

Return whether this process is running. It also checks if PID has been reused by another process, in which case it will remove the process from `process_iter()` internal cache and return False.

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

_raise_if_pid_reusedMethod · 0.95
send_signalMethod · 0.95
test_win_service_iterMethod · 0.95
test_reused_pidMethod · 0.95
test_weird_environMethod · 0.95
test_reap_childrenMethod · 0.95
check_goneFunction · 0.45

Calls 3

NoSuchProcessClass · 0.85
ProcessClass · 0.70
addMethod · 0.45

Tested by 5

test_win_service_iterMethod · 0.76
test_reused_pidMethod · 0.76
test_weird_environMethod · 0.76
test_reap_childrenMethod · 0.76