[erlang-questions] Why is the spawn_link not working?

Yves S. Garret <>
Mon Jan 13 01:36:51 CET 2014


I've recently created the following two modules from a book:

Now, when I send Pid ! {moon, asdf}. I get the following output:
39> Pid ! {moon, w}.
Received the input and sending now.
Received the input to drop.

=ERROR REPORT==== 12-Jan-2014::19:31:38 ===
Error in process <0.162.0> with exit value:

Why am I not seeing this line run?
io:format("FAILURE: ~p died because of ~p.~n~n", [Pid, Reason]);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140112/fe586efe/attachment.html>

More information about the erlang-questions mailing list