[erlang-questions] Start A process of another node

Michael Truog mjtruog@REDACTED
Tue Oct 27 07:04:23 CET 2009


If you are using the slave module in the stdlib, since it tries to
cleanup zombie nodes. Since the process is not spawned with a link, it
shouldn't die. If your shell is attached to the node and you do abort
(after Ctrl-C), that could take it down. Instead you should do Ctrl-C twice.


maruthavanan s wrote:
> 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('mainnode@REDACTED',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