Files
linux-kernel-module-cheat/gem5-shell
Ciro Santilli 六四事件 法轮功 1768421dbd args -> kwargs
2018-12-08 00:00:01 +00:00

17 lines
343 B
Python
Executable File

#!/usr/bin/env python3
import sys
import common
parser = common.get_argparse(
default_args={'gem5':True},
argparse_args={'description':'Connect a terminal to a running gem5 instance'}
)
args = common.setup(parser)
sys.exit(self.sh.run_cmd([
common.gem5_m5term, LF,
'localhost', LF,
str(common.gem5_telnet_port), LF,
]))