environment/lib/python2.7/site-packages/IPython/parallel/util.py
def signal_children(children):
    """Relay interupt/term signals to children, for more solid process cleanup."""
    def terminate_children(sig, frame):
        log = Application.instance().log
        log.critical("Got signal %i, terminating children..."%sig)
        for child in children:
            child.terminate()
        
        sys.exit(sig != SIGINT)
        # sys.exit(sig)
    for sig in (SIGINT, SIGABRT, SIGTERM):
        signal(sig, terminate_children)
def signal_children(children):
    """Relay interupt/term signals to children, for more solid process cleanup."""
    def terminate_children(sig, frame):
        log = Application.instance().log
        log.critical("Got signal %i, terminating children..."%sig)
        for child in children:
            child.terminate()
        
        sys.exit(sig != SIGINT)
        # sys.exit(sig)
    for sig in (SIGINT, SIGABRT, SIGTERM):
        signal(sig, terminate_children)
def signal_children ( children ) : def terminate_children ( sig , frame ) : log = Application . instance ( ) . log log . critical ( "Got signal %i, terminating children..." % sig ) for child in children : child . terminate ( ) sys . exit ( sig != SIGINT ) # sys.exit(sig) for sig in ( SIGINT , SIGABRT , SIGTERM ) : signal ( sig , terminate_children )
Relay interupt/term signals to children, for more solid process cleanup.
Relay interupt / term signals to children for more solid process cleanup .