MCPcopy Create free account
hub / github.com/bugy/script-server / finished

Method finished

src/execution/process_base.py:79–84  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

77
78 class KillChildren(object):
79 def finished(self):
80 try:
81 os.killpg(group_id, signal.SIGKILL)
82 except ProcessLookupError:
83 # probably there are no children left
84 pass
85
86 self.add_finish_listener(KillChildren())
87

Callers 2

add_finish_listenerMethod · 0.45
notify_finishedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected