Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
iex remote node
Node A:
iex --sname "nodea"
iex> Process.register self, :iex
Node B:
iex --sname "nodeb"
iex> Node.connect :"nodea@myhostname"
true
parent = self
Node.spawn_link(:"nodea@myhostname", fn ->
parent <- Process.whereis(:iex)
end)
receive do
iex_pid -> iex_pid
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.