MCPcopy Create free account
hub / github.com/Physical-Intelligence/openpi / handler

Function handler

examples/droid/main.py:60–62  ·  view source on GitHub ↗
(signum, frame)

Source from the content-addressed store, hash-verified

58 original_handler = signal.getsignal(signal.SIGINT)
59
60 def handler(signum, frame):
61 nonlocal interrupted
62 interrupted = True
63
64 signal.signal(signal.SIGINT, handler)
65 try:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected