Start A process of another node

maruthavanan s <>
Tue Oct 27 05:19:52 CET 2009


Hi,

I need to start and stop a process on another node

Say for e.g I have a main node in erlang.

I have another sub node in erlang. I need to start some process in main node from sub node shell.

I achieved this by using the below

spawn('',sample,start,[]).

but when I close the sub node the process is stopped. Is there any possibility that I can make the process live through out regardless of whether I close the sub node or not, the sample:start() would be running in main node?

Thanks,
Marutha
 		 	   		  


More information about the erlang-questions mailing list