Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
kill
Method · 0.95
check_alive
Function · 0.45
Calls
1
wait
Method · 0.80
Tested by
no test coverage detected