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
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions