(nodeA@foo.hyd.com)8> spawn(nodeA@bar.del.com, tut, test, [hello, 5]).
I want to spawn a process on bar.del.com which has no file system access to foo.hyd.com (from where I am spawning the process), running subroutine “test” of module “tut”.
Is there a way to do so, w/o providing the nodeA@bar.del.com with the compiled “tut” module file?
You can use the following function to load a module at remote node without providing the file itself:
As noted in
code:load_binary/3Filenameargument is used only to track the path to module and the file it points to is not used by local node_server.