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

Function sendCommand

scripts/piped-work/get_gui_structure.py:41–44  ·  view source on GitHub ↗
( command )

Source from the content-addressed store, hash-verified

39print( "-- File to read from has now been opened too\r\n" )
40
41def sendCommand( command ) :
42 print( "Send: >>> "+command )
43 tofile.write( command + EOL )
44 tofile.flush()
45
46def getResponse() :
47 result = ''

Callers 1

doCommandFunction · 0.85

Calls 3

printFunction · 0.85
writeMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected