<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi, I'm having some trouble with inter-process communication. First of all I have a process which receives a message it looks something like this:<DIV><BR class="khtml-block-placeholder"></DIV><DIV>%%%%%%%%%%%%%%%%%%%%%%%%</DIV><DIV>receive_msg() -></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">       </SPAN>receive</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">              </SPAN>{Msg} -></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">          </SPAN>io:format("Recieved Message");</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">             </SPAN>_-></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">               </SPAN>io:format("Nothing to report")</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">     </SPAN>end.</DIV><DIV>%%%%%%%%%%%%%%%%%%%%%%%%</DIV><DIV>Note: this process is spawned and registered as proxy.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>To continue: I have another module which I start from within the shell it looks similar to this:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>%%%%%%%%%%%%%%%%%%%%%%%%</DIV><DIV>send_message()-></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">       </SPAN>Msg = "Hello World", <SPAN class="Apple-tab-span" style="white-space:pre">     </SPAN>% My message</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>send(Msg),<SPAN class="Apple-tab-span" style="white-space:pre">                  </SPAN>% here I send my message somewhere unknown and the reply is sent to the process proxy above</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                          </SPAN>%Here I want to receive the message that is received in proxy</DIV><DIV>%%%%%%%%%%%%%%%%%%%%%%%%</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>So how to I accomplish this? Is there any other way then using " ! "? What I would like to do is to call the process proxy from within send_message and the return answer should be Msg, is this possible? And how should it look? </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>------------------------------------</DIV><DIV>Fredrik Hoback</DIV><DIV><A href="mailto:fredrik.hoback@gmail.com">fredrik.hoback@gmail.com</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></BODY></HTML>