def core_ipc_handle_test(the_work, result_queue):
    try:
        arr = the_work()
    except:
        succ = False
        out = traceback.format_exc()
    else:
        succ = True
        out = arr
    result_queue.put((succ, out))
def core_ipc_handle_test(the_work, result_queue):
    try:
        arr = the_work()
    except:
        succ = False
        out = traceback.format_exc()
    else:
        succ = True
        out = arr
    result_queue.put((succ, out))