MCPcopy Create free account
hub / github.com/OpenAtomFoundation/pikiwidb / is_running

Method is_running

codis/example/utils.py:20–25  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18 raise
19
20 def is_running(self):
21 try:
22 self.proc.wait(0)
23 except Exception:
24 pass
25 return self.proc.returncode is None
26
27 def kill(self):
28 if self.is_running():

Callers 2

killMethod · 0.95
check_aliveFunction · 0.45

Calls 1

waitMethod · 0.80

Tested by

no test coverage detected