A non-blocking read on a subprocess.PIPE in Python A non-blocking read on a subprocess.PIPE in Python python python