<div dir="ltr">Thank Brujo for the answer; and thanks, Arun, for the question - I was thinking about asking the same; though I've already discovered the concepts of group_leader and io redirection, I needed just the S/O answer from above to settle the matter.<div>Cheers!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 3, 2017 at 9:20 AM, Brujo Benavides <span dir="ltr"><<a href="mailto:elbrujohalcon@gmail.com" target="_blank">elbrujohalcon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Arun,<div><br></div><div>That’s <i>intended</i>. It happens because of how Erlang redirects all IO through the process group_leader.</div><div><a href="https://stackoverflow.com/questions/12491607/remote-nodes-group-leaders-and-printouts" target="_blank">This</a> is the best explanatory link I could find googling quickly.</div><div>Hope it helps.</div><div><div>
<div style="color:rgb(0,0,0);font-family:'Trebuchet MS';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div><span id="m_-4680317973861194444docs-internal-guid-e691a4cc-056a-0210-b8b7-ea8d87d888ad"><span style="font-size:11pt;font-family:Arial;font-weight:700;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><br class="m_-4680317973861194444Apple-interchange-newline"><hr></span></span><span class="HOEnZb"><font color="#888888"><div><b><i><a href="http://about.me/elbrujohalcon" target="_blank">Brujo Benavides</a></i></b></div></font></span></div></div><div style="color:rgb(0,0,0);font-family:'Trebuchet MS';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><b><br></b></div><br class="m_-4680317973861194444Apple-interchange-newline">
</div><div><div class="h5">
<br><div><blockquote type="cite"><div>On Oct 3, 2017, at 10:10, Arun <<a href="mailto:arunp@utl.in" target="_blank">arunp@utl.in</a>> wrote:</div><br class="m_-4680317973861194444Apple-interchange-newline"><div><div>Hi all,<br><br>I have two distributed applications running on two different nodes. And from one node I tried to call the function on the remote node by doing RPC, and its been observed that all the debug prints given in the application running on the remote node is getting printed on the host node's console.<br><br>Can somebody please tell me in detail why this is happening and how the RPC in erlang works. ?<br><br>Thanks in advance.<br>Arun P.<br>______________________________<wbr>_________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br></div></div></blockquote></div><br></div></div></div></div><br>______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>