2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-25 04:32:11 +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 51037e2487
commit 2ff47b886d

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':