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:
parent
51037e2487
commit
2ff47b886d
@ -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