def connect_multiprocess(args = {}): """ Starts a SlaveService on a multiprocess process and connects to it. Useful for testing purposes and running multicore code thats uses shared memory. See :func:`rpyc.utils.factory.connect_multiprocess` :returns: an RPyC connection exposing ``SlaveService`` """ return factory.connect_multiprocess(SlaveService, remote_service = SlaveService, args=args)