<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Brujo,</p>
<p>Thanks for the information, but i have one more doubt; is this
behavior only for io:format function calls or the execution of the
entire function also will be happening in the host node.</p>
Regards,<br>
Arun P.<br>
<br>
<div class="moz-cite-prefix">On Tuesday 03 October 2017 06:50 PM,
Brujo Benavides wrote:<br>
</div>
<blockquote
cite="mid:2086D046-061B-4AC3-B063-0F2B3E7C22F7@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Hi Arun,
<div class=""><br class="">
</div>
<div class="">That’s <i class="">intended</i>. It happens because
of how Erlang redirects all IO through the process group_leader.</div>
<div class=""><a moz-do-not-send="true"
href="https://stackoverflow.com/questions/12491607/remote-nodes-group-leaders-and-printouts"
class="">This</a> is the best explanatory link I could find
googling quickly.</div>
<div class="">Hope it helps.</div>
<div class="">
<div class="">
<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;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<div class=""><span
id="docs-internal-guid-e691a4cc-056a-0210-b8b7-ea8d87d888ad"
class=""><span style="font-size: 11pt; font-family: Arial; font-weight: 700; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;" class="">
<hr class=""></span></span><div class=""><b class=""><i class=""><a moz-do-not-send="true" href="http://about.me/elbrujohalcon" class="">Brujo Benavides</a></i></b></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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><b class="">
</b></div>
</div>
<div><blockquote type="cite" class=""><div class="">On Oct 3, 2017, at 10:10, Arun <<a moz-do-not-send="true" href="mailto:arunp@utl.in" class="">arunp@utl.in</a>> wrote:</div>
<div class=""><div class="">Hi all,
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.
Can somebody please tell me in detail why this is happening and how the RPC in erlang works. ?
Thanks in advance.
Arun P.
_______________________________________________
erlang-questions mailing list
<a moz-do-not-send="true" href="mailto:erlang-questions@erlang.org" class="">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>
</div></div></blockquote></div>
</div>
</blockquote>
</body></html>