Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/audacity/audacity
/ send_command
Function
send_command
scripts/piped-work/recording_test.py:90–94 ·
view source on GitHub ↗
Send a command to Audacity.
(command)
Source
from the content-addressed store, hash-verified
88
89
90
def
send_command(command):
91
""
"Send a command to Audacity."
""
92
print(
"Send: >>> "
+command)
93
TOPIPE.write(command + EOL)
94
TOPIPE.flush()
95
96
97
def
get_response():
Callers
1
do_command
Function · 0.70
Calls
3
print
Function · 0.85
write
Method · 0.45
flush
Method · 0.45
Tested by
no test coverage detected