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

Function send_command

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

Send a single command.

(command)

Source from the content-addressed store, hash-verified

48
49
50def send_command(command):
51 """Send a single command."""
52 print("Send: >>> \n"+command)
53 TOFILE.write(command + EOL)
54 TOFILE.flush()
55
56def get_response():
57 """Return the command response."""

Callers 1

do_commandFunction · 0.70

Calls 3

printFunction · 0.85
writeMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected