communication - Python subprocess produced output or not -
this question in relation to:
python, subprocess: reading output subprocess
if p subprocess started command along lines of
import subprocess p = subprocess.popen ("command", stdout=subprocess.pipe)
we can read output p produces p.stdout.readline (). blocking read though. how can check if there output ready reading (without blocking)?
following on so:
Comments
Post a Comment