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

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -