[erlang-questions] bad rpc

Vlad Dumitrescu vladdu55@REDACTED
Fri Nov 28 13:42:27 CET 2008


Hi!

2008/11/28 prasantha kumara <jlprasantha@REDACTED>:
> args = erl_format("{cnode, ~i}", 7);

The documentation for erl_rpc says that
        args is an Erlang list, containing the arguments to be passed
to the function.

So in your case it should be
    args = erl_format("[{cnode, ~i}]", 7);

regards,
Vlad



More information about the erlang-questions mailing list