I write another small module, It works well, so what's wrong with link_demo?<br><br><div><span class="gmail_quote"><br>-module(dd).<br><br>-export([test/0,test1/0]).<br><br>test() -><br> process_flag(trap_exit, true),
<br> link(spawn(dd, test1, [])),<br> t().<br><br>test1() -><br> ok.<br>t() -><br> receive<br> Any -><br> io:format("~w~n",[Any])<br> end.<br><br></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>Thanks!<br>Best Regards<br>James<br>
</div></blockquote></div><br>