Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/HelloZeroNet/ZeroNet
/ isSubprocessRunning
Method
isSubprocessRunning
src/Tor/TorManager.py:119–120 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
117
return
False
118
119
def
isSubprocessRunning(self):
120
return
self.tor_process and self.tor_process.pid and self.tor_process.poll() is None
121
122
def
stopTor(self):
123
self.log.debug(
"Stopping..."
)
Callers
2
startTor
Method · 0.95
stopTor
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected