MCPcopy
hub / github.com/kbumsik/VirtScreen / process_exited

Method process_exited

virtscreen/process.py:60–70  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 logging.info("Subprocess connection lost.")
59
60 def process_exited(self):
61 if self.outer.logfile is not None:
62 self.outer.logfile.close()
63 self.transport.close()
64 return_code = self.transport.get_returncode()
65 if return_code is None:
66 logging.error("Unknown exit")
67 self.outer.ended(1)
68 return
69 logging.info(f"processEnded, status {return_code}")
70 self.outer.ended(return_code)
71
72
73class AsyncSubprocess():

Callers

nothing calls this directly

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected