MCPcopy
hub / github.com/corpnewt/gibMacOS / _create_thread

Method _create_thread

Scripts/run.py:22–27  ·  view source on GitHub ↗
(self, output)

Source from the content-addressed store, hash-verified

20 pipe.close()
21
22 def _create_thread(self, output):
23 # Creates a new queue and thread object to watch based on the output pipe sent
24 q = Queue()
25 t = threading.Thread(target=self._read_output, args=(output, q))
26 t.daemon = True
27 return (q,t)
28
29 def _stream_output(self, comm, shell = False):
30 output = error = ""

Callers 1

_stream_outputMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected