22 Jun 2013, 02:42
Face1_pragsmall

Wilker Lucio da Silva (3 posts)

Hi, on the first exercice on 12.3, where you spawn the process and exit it: http://media.pragprog.com/titles/elixir/code/spawn/link1.exs

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
Generic-user-small

Chris McGrath (2 posts)

Same happens here with same versions of Elixir and Erlang

25 Jun 2013, 19:26
Dave_gnome_head_isolated_pragsmall

Dave Thomas (337 posts)

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

25 Jun 2013, 21:41
Generic-user-small

Chris McGrath (2 posts)

Same code is working for me in 0.9.3.

  You must be logged in to comment