MCPcopy Index your code
hub / github.com/aws/aws-cli / ignore_ctrl_c

Function ignore_ctrl_c

awscli/utils.py:388–393  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

386
387@contextlib.contextmanager
388def ignore_ctrl_c():
389 original = signal.signal(signal.SIGINT, signal.SIG_IGN)
390 try:
391 yield
392 finally:
393 signal.signal(signal.SIGINT, original)
394
395
396def emit_top_level_args_parsed_event(session, args):

Callers 2

_send_output_to_pagerMethod · 0.90

Calls

no outgoing calls

Tested by 1