<div dir="ltr"><div>I know erl -eval, but elixir --rpc-eval gives the error also, like this:</div><div>--rpc-eval : RPC failed with reason :nodedown</div><div>while erl -eval is silent about errors like node down which is very important.</div><div><br></div><div>May be a try catch would do the trick but already is too much to pass to eval.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 29, 2022 at 3:57 PM Luke Bakken <<a href="mailto:luke@bakken.io">luke@bakken.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Give "-eval" a try instead.<br>
<br>
On Tue, Mar 29, 2022 at 5:40 AM Bogdan Andu <<a href="mailto:bog495@gmail.com" target="_blank">bog495@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I tried that before like this:<br>
> $ erl -setcookie proxy -proto_dist inet_tls -ssl_dist_optfile file_with_pem -name 'stop-node@host' -s rpc call target-node@host init stop []<br>
> Erlang/OTP 24 [erts-12.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1]<br>
</blockquote></div>