erl_call -q

Bogdan Andu bog495@REDACTED
Tue Mar 29 15:26:37 CEST 2022


I know erl -eval, but elixir --rpc-eval gives the error also, like this:
--rpc-eval : RPC failed with reason :nodedown
while erl -eval is silent about errors like node down which is very
important.

May be a try catch would do the trick but already is too much to pass to
eval.

On Tue, Mar 29, 2022 at 3:57 PM Luke Bakken <luke@REDACTED> wrote:

> Give "-eval" a try instead.
>
> On Tue, Mar 29, 2022 at 5:40 AM Bogdan Andu <bog495@REDACTED> wrote:
> >
> > Hi,
> >
> > I tried that before like this:
> > $ erl -setcookie proxy -proto_dist inet_tls -ssl_dist_optfile
> file_with_pem -name 'stop-node@REDACTED' -s rpc call target-node@REDACTED init
> stop []
> > Erlang/OTP 24 [erts-12.3] [source] [64-bit] [smp:4:4] [ds:4:4:10]
> [async-threads:1]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20220329/2edb0d9b/attachment.htm>


More information about the erlang-questions mailing list