MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / force_quit

Function force_quit

keepercommander/cli.py:616–625  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

614
615
616def force_quit():
617 try:
618 if os.name == 'posix':
619 subprocess.run('reset')
620 elif os.name == 'nt':
621 subprocess.run('cls')
622 logging.warning('Auto-logout timer activated.')
623 except:
624 pass
625 os._exit(0)
626
627
628prompt_session = None

Callers

nothing calls this directly

Calls 2

warningMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected