[erlang-questions] How to define a command that will run in a remote shell
Dmitry Klionsky
dm.klionsky@REDACTED
Mon Feb 5 12:49:53 CET 2018
Entop implemented a separate script for it.
https://github.com/mazenharake/entop/blob/master/entop
On 02/05/2018 11:36 AM, Gerhard Lazu wrote:
> When connecting to a remote node via remsh, is it possible to specify
> a command that will run on the remote node as soon as the shell is active?
>
> Both -run and -eval erl flags are executed in the context of the
> current node, I am looking for something like -remrun or -remeval,
> that would execute in the context of the remote shell.
>
> The end-goal is to have a single CLI command, e.g. observe, which
> enables a user to select any Erlang node that is part of a cluster,
> and observer_cli:start() [1]. will be invoked on remote shell invocation.
>
> Thank you, Gerhard.
>
> [1] _https://github.com/zhongwencool/observer_cli_
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
--
BR,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180205/2b0bf62e/attachment.htm>
More information about the erlang-questions
mailing list