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

Popular posts from this blog

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -