MCPcopy Create free account
hub / github.com/chatmail/core / _run_stdout_thread

Method _run_stdout_thread

python/src/deltachat/testplugin.py:647–657  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

645 t.start()
646
647 def _run_stdout_thread(self) -> None:
648 try:
649 while True:
650 line = self.popen.stdout.readline()
651 if not line:
652 break
653 line = line.strip()
654 self.stdout_queue.put(line)
655 print("bot-stdout: ", line)
656 finally:
657 self.stdout_queue.put(None)
658
659 def kill(self) -> None:
660 self.popen.kill()

Callers

nothing calls this directly

Calls 1

putMethod · 0.80

Tested by

no test coverage detected