If you want to interact with a subprocess then things become much more complicated. The reason is that most of the programs you are likely to want to run are written in C and this changes the way that ...
import subprocess import threading class AsyncReader(): def __init__(self,stream): self._stream=stream self._char="" self.t=threading.Thread(target=self._get, daemon ...