MCPcopy Create free account
hub / github.com/audacity/audacity / do_command

Function do_command

scripts/piped-work/pipe_test.py:67–72  ·  view source on GitHub ↗

Send one command, and return the response.

(command)

Source from the content-addressed store, hash-verified

65 return result
66
67def do_command(command):
68 """Send one command, and return the response."""
69 send_command(command)
70 response = get_response()
71 print("Rcvd: <<< \n" + response)
72 return response
73
74def quick_test():
75 """Example list of commands."""

Callers 1

quick_testFunction · 0.70

Calls 3

printFunction · 0.85
send_commandFunction · 0.70
get_responseFunction · 0.70

Tested by

no test coverage detected