[erlang-questions] beginner: slave:start/3 and -pa in Args not working?

13 views
Skip to first unread message

Bengt Kleberg

unread,
Oct 5, 2012, 8:45:58 AM10/5/12
to erlang-questions
Greetings,

Does not a slave node get the -pa argument into the code path?

After slave:start/3 with Args set to "-pa ./ebin" I have a remote node.
Good. It has the following expected arguments:
rpc:call('ise_pool_sl...@sekic2555.rnd.ki.sw.ericsson.se',
init, get_arguments, []).
[{root,["/app/erlang/otp_R15B01/LMWP2/lib/erlang"]},
{progname,["erl"]},
{home,["/home/eleberg"]},
{noshell,[]},
{noinput,[]},
{noshell,[]},
{noinput,[]},
{master,["ise_pool_mas...@sekic2790.rnd.ki.sw.ericsson.se"]},
{name,["ise_pool_sl...@sekic2555.rnd.ki.sw.ericsson.se"]},
{rsh,["ssh"]},
{pa,["./ebin"]}]

But the code path is not as expected:
S = rpc:call('ise_pool_sl...@sekic2555.rnd.ki.sw.ericsson.se',
code, get_path, []).
lists:member("./ebin", S).
false


Could anybody come forth with suggestions for what to look at?


ebngt

_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
Reply all
Reply to author
Forward
0 new messages