<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Entop implemented a separate script for it.<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/mazenharake/entop/blob/master/entop">https://github.com/mazenharake/entop/blob/master/entop</a><br>
</p>
<br>
<div class="moz-cite-prefix">On 02/05/2018 11:36 AM, Gerhard Lazu
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:c7655287-cb9d-41b9-8d79-3dc743abbe26@Spark">
<title></title>
<div name="messageBodySection">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?<br>
<br>
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.<br>
<br>
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.<br>
<br>
Thank you, Gerhard.<br>
<br>
[1] <a href="https://github.com/zhongwencool/observer_cli"
moz-do-not-send="true"><u>https://github.com/zhongwencool/observer_cli</u></a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
BR,
Dmitry
</pre>
</body>
</html>