def main():
try:
return wifimitmcli()
except KeyboardInterrupt:
print('Stopping.')
return ExitCode.KEYBOARD_INTERRUPT.value
except subprocess.CalledProcessError as e:
logger.error(str(e) + ' ' + saferepr(e))
print(str(e), file=sys.stderr)
return ExitCode.SUBPROCESS_ERROR.value
评论列表
文章目录