[erlang-questions] name and sname in escript

Anders Nygren anders.nygren@REDACTED
Sat Nov 3 17:25:31 CET 2007


On Nov 3, 2007 9:59 AM, Robin Bhattacharyya <robi123@REDACTED> wrote:
> In order to call erlang:set_cookie(node(), abc), you need to have
> specified -name or -sname.
>
> How do you you specify -name and -sname programatically from an escript?

I have not tried it myself but I think net_kernel:start is what You want

/Anders



More information about the erlang-questions mailing list