[erlang-questions] re-attaching to a runtime instance

Vance Shipley <>
Mon Sep 15 04:30:44 CEST 2008


You can do that a number of ways.  It sounds like what you 
should really be doing is running as an embedded system:


In that scenario you have the emulator started by run_erl
and you can reattach using to_erl:


You can also just start another erlang shell and use shell
break mode (Ctrl-G) to start a remote shell on the detached
node.  This assumes you started both as distributed systems.

And lastly you can start an ssh server on the first node and
use ssh to connect to it.


On Sun, Sep 14, 2008 at 05:58:24PM -0700, Tom Whitcomb wrote:
}  I am using the "-detach" option with "erl".  Works great but I would like to be able to reconnect an Erlang shell to the existing runtime instance.  Is there a way to do it?

More information about the erlang-questions mailing list