Killing Supervisor

Serge Aleynikov <>
Wed Apr 26 13:36:36 CEST 2006


Sorry, I typed too fast.  It should've been SupervisorName instead:

exit(whereis(SupervisorName), kill).

Serge Aleynikov wrote:
> exit(whereis(SupervisorPid), kill).
> 
> Surindar Sivanesan wrote:
> 
>> Dear all,
>> I have a supervision tree. We have built in functions to kill the 
>> child process.
>> I want to kill the supervisor thereby terminating the whole 
>> supervision tree. Is there any way to do that.
>> Please do my favour
>>
>> -- 
>> with regards,
>> S.Surindar
> 
> 
> 




More information about the erlang-questions mailing list