<div>š<a href="http://www.erlang.org/doc/man/supervisor.html#start_child-2">http://www.erlang.org/doc/man/supervisor.html#start_child-2</a>:</div><div>š</div><div><strong>If the child process start function returnsš<span>{ok,Child}</span>šorš<span>{ok,Child,Info}</span></strong><span>, the child specification and pid is added to the supervisor and <strong>the function returns the same value</strong>.</span></div><div>š</div><div>07.01.2013, 21:12, "Dmitry Kolesnikov" <dmkolesnikov@gmail.com>:</div><blockquote><p>Hello,<br /><br />Here is copy-paste of supervisor:start_child.<br /><br />start_child(SupRef, ChildSpec) -> Result<br />ššššššššResult = {ok,Child} | {ok,Child,Info} | {error,Error}<br /><br />When supervisor return {ok,Child,Info} instead of {ok, Child}? I've never seen such return.<br /><br />- Dmitry<br /><br />_______________________________________________<br />erlang-questions mailing list<br /><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br /><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></p></blockquote>