From 2ff47b886de359d52c8795dbbb490925863b7743 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 18 Oct 2018 15:43:36 -0400 Subject: [PATCH] Fix noderun output of continuing commands noderun always only output at the end, fix the mistake in the select statement. --- confluent_client/bin/noderun | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/noderun b/confluent_client/bin/noderun index a250cef6..efe61a59 100755 --- a/confluent_client/bin/noderun +++ b/confluent_client/bin/noderun @@ -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':