small medium large xlarge

22 Jun 2013, 02:42
Wilker Lucio da Silva (4 posts)

Hi, on the first exercice on 12.3, where you spawn the process and exit it:

On your return I should expect to see: Nothing happened as far as I am concerned

But running here I actually get: MESSAGE RECEIVED: {:EXIT,#PID<0.36.0>,:normal}

replacing @spawn@ with @spawn_link@ gives me same result…

Using Elixir 0.9.2 Using Erlang R16B (erts-5.10.1)

23 Jun 2013, 11:39
Chris McGrath (2 posts)

Same happens here with same versions of Elixir and Erlang

25 Jun 2013, 19:26
Dave Thomas (388 posts)

Yes, this is a bug in Elixir. The latest book shows a workaround.

25 Jun 2013, 21:41
Chris McGrath (2 posts)

Same code is working for me in 0.9.3.

You must be logged in to comment