MCPcopy Create free account
hub / github.com/agent0ai/agent-zero / wait

Method wait

plugins/_code_execution/helpers/tty_session.py:149–152  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

147 await self.send(line + "\n")
148
149 async def wait(self):
150 if self._proc is None:
151 raise RuntimeError("TTYSpawn is not started")
152 return await self._proc.wait()
153
154 def kill(self):
155 """Force-kill the running child process.

Callers 1

interactive_shellFunction · 0.95

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected