mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-22 22:43:01 +02:00
Fix Bug 2552 - pipe_test.py fails to print return value from first command
This commit is contained in:
@@ -57,10 +57,11 @@ def get_response():
|
|||||||
"""Return the command response."""
|
"""Return the command response."""
|
||||||
result = ''
|
result = ''
|
||||||
line = ''
|
line = ''
|
||||||
while line != '\n':
|
while True:
|
||||||
result += line
|
result += line
|
||||||
line = FROMFILE.readline()
|
line = FROMFILE.readline()
|
||||||
#print(" I read line:["+line+"]")
|
if line == '\n' and len(result) > 0:
|
||||||
|
break
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def do_command(command):
|
def do_command(command):
|
||||||
|
Reference in New Issue
Block a user