Using supervisor:start_child without an id

gershon bialer <>
Mon Jun 14 23:54:27 CEST 2010


As I understand it, OTP supervisors require an id for every process
supervised. Since:

child_spec() = {Id,StartFunc,Restart,Shutdown,Type,Modules}.

However, I don't want to create an Id everytime, I add a process. Is
there anyway to add child processes to a supervisor, without creating
a new id?

Gershon Bialer

More information about the erlang-questions mailing list