1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-29 15:19:44 +02:00

Fix Bug 2552 - pipe_test.py fails to print return value from first command

This commit is contained in:
SteveDaulton 2020-09-29 10:16:30 +01:00
parent a48f8a40a8
commit dd6fe21853

View File

@ -57,10 +57,11 @@ def get_response():
"""Return the command response."""
result = ''
line = ''
while line != '\n':
while True:
result += line
line = FROMFILE.readline()
#print(" I read line:["+line+"]")
if line == '\n' and len(result) > 0:
break
return result
def do_command(command):