MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / _reap

Method _reap

apps/proxy/live_proxy/utils.py:172–178  ·  view source on GitHub ↗
(self, status)

Source from the content-addressed store, hash-verified

170 self.returncode = None
171
172 def _reap(self, status):
173 if os.WIFEXITED(status):
174 self.returncode = os.WEXITSTATUS(status)
175 elif os.WIFSIGNALED(status):
176 self.returncode = -os.WTERMSIG(status)
177 else:
178 self.returncode = -1
179
180 def poll(self):
181 if self.returncode is not None:

Callers 2

pollMethod · 0.95
waitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected