<div dir="ltr"><div>It starts nothing just empty supervisor.</div><div>You can add more by using `supervisor:start_child(SupName, Spec)`</div><div><a href="https://erlang.org/doc/man/supervisor.html#start_child-2">https://erlang.org/doc/man/supervisor.html#start_child-2</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 17 Jan 2020 at 13:50, Dietmar Schaefer <<a href="mailto:dietmar-s@online.de">dietmar-s@online.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div>
    <p><font size="+1">I found this supervisor code:</font></p>
                                                                                                                                                                                                                                                                                                        
    <br>
-define(SERVER,?MODULE).                                                                                                                                                                                                                                                                                 
    <br>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
    <br>
start_link()->                                                                                                                                                                                                                                                                                           
     
supervisor:start_link({local,?SERVER},?MODULE,[]).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
    <br>
    <p><br>
    </p>
    <p>init([])->                     </p>
    <p>    {ok, {{one_for_all, 0, 1},[]}}. <br>
    </p>
    <p>How can it work without any specification about what to start?</p>
    <p><br>
    </p>
    <p>regards</p>
    <p>Dietmar<br>
    </p>
    <br>
  </div>

</blockquote></div>