def new_ipsystem_posix(cmd):
    
    p =  subprocess.Popen(cmd, shell = True)
    
    old_handler = signal.signal(signal.SIGINT, signal.SIG_IGN)
    pid,status = os.waitpid(p.pid,0)
    signal.signal(signal.SIGINT, old_handler)
    if status and ip.options.verbose:
        print("[exit status: %d]" % status)
ctrl+c ignoring replacement for system() command in iplib.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/quarantine/ipy_signals.py/new_ipsystem_posix