'Popen() for server connections'

def popen(self, cmd):

    assert self
    old = signal(SIGINT, SIG_IGN)
    conn = Popen(cmd, stdin=PIPE, stdout=PIPE, close_fds=True)
    signal(SIGINT, old)
    return conn
