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

Bengt Kleberg bengt.kleberg@REDACTED
Fri Oct 5 14:45:58 CEST 2012


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_slave_cluster1@REDACTED',
init, get_arguments, []).
[{root,["/app/erlang/otp_R15B01/LMWP2/lib/erlang"]},
 {progname,["erl"]},
 {home,["/home/eleberg"]},
 {noshell,[]},
 {noinput,[]},
 {noshell,[]},
 {noinput,[]},
 {master,["ise_pool_master_cluster1@REDACTED"]},
 {name,["ise_pool_slave_cluster1@REDACTED"]},
 {rsh,["ssh"]},
 {pa,["./ebin"]}]

But the code path is not as expected:
S = rpc:call('ise_pool_slave_cluster1@REDACTED',
code, get_path, []).
lists:member("./ebin", S).
false


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


ebngt




More information about the erlang-questions mailing list