Possible supervisor patch

Filipe David Manana <>
Fri Dec 17 13:48:44 CET 2010


I find it useful to be able to restart a supervisor child with
arguments different from those specified in the MFA component of the
original child spec.
Is this completely against the principles of OTP supervisors/servers,
or something that may be added?

I made a quick and tiny patch that adds this feature and is working as I want:


If someone from the OTP team confirms this might be considered for
inclusion, I'll be glad to refine it if necessary.

best regards,

Filipe David Manana,

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."

More information about the erlang-patches mailing list