2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 19:10:10 +00:00

Fix noderun output of continuing commands

noderun always only output at the end, fix the
mistake in the select statement.
This commit is contained in:
Jarrod Johnson 2018-10-18 15:43:36 -04:00
parent f2dd501de9
commit c784a4ec9b

View File

@ -85,7 +85,7 @@ def run():
desc = pipedesc[r]
node = desc['node']
data = True
while data and select.select([r], [], [], 0):
while data and select.select([r], [], [], 0)[0]:
data = r.readline()
if data:
if desc['type'] == 'stdout':