MCPcopy Create free account
hub / github.com/FlightGear/flightgear / run_command

Method run_command

scripts/python/recordreplay.py:205–209  ·  view source on GitHub ↗
(self, command)

Source from the content-addressed store, hash-verified

203 raise Exception(f'Timeout waiting for {name}={value}; current value: {v}. timeout={timeout}')
204
205 def run_command(self, command):
206 self.fg.telnet._putcmd(command)
207 ret = self.fg.telnet._getresp()
208 log(f'command={command!r} ret: {ret}')
209 return ret
210
211 def close(self):
212 assert self.child

Callers 4

test_record_replayFunction · 0.95
mainFunction · 0.95
make_recordingFunction · 0.80
make_recordingFunction · 0.80

Calls 3

_putcmdMethod · 0.80
_getrespMethod · 0.80
logFunction · 0.70

Tested by 1

test_record_replayFunction · 0.76