mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +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:
parent
f2dd501de9
commit
c784a4ec9b
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user