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:
parent
a48f8a40a8
commit
dd6fe21853
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user