MCPcopy Create free account
hub / github.com/ipython/ipython / interrupt

Method interrupt

IPython/utils/tests/test_process.py:128–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126 signal.signal(signal.SIGINT, signal.default_int_handler)
127
128 def interrupt():
129 # Wait for subprocess to start:
130 time.sleep(0.5)
131 interrupt_main()
132
133 threading.Thread(target=interrupt).start()
134 start = time.time()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected