(self)
| 117 | |
| 118 | # non-blocking read of data from subprocess stdout |
| 119 | def read(self): |
| 120 | self.__lock.acquire() |
| 121 | outdata = "".join(self.__collected_outdata) |
| 122 | del self.__collected_outdata[:] |
| 123 | self.__lock.release() |
| 124 | return outdata |
| 125 | |
| 126 | # non-blocking read of data from subprocess stderr |
| 127 | def readerr(self): |
no outgoing calls