newbie question on Supervisor

Stephen Han <>
Tue Dec 14 02:38:09 CET 2004


Hi

I wrote the process with supervisor behaviour.

Specification :

Spec = {no1100_sup, 
	    {no1100, start_link, [StartArgs]}, 
	    transient, 
	    10, 
	    worker, 
	    [no1100]},

{{ one_for_one, 2, 1 } , [ Spec] }

I wanted to test it so I killed the process from Appmon.
I found out that even though I killed only worker, the supervisor
process also got killed.
I tested on Mnesia, same things happened.
Does this mean that exit(Pid, kill) is not avoidable?

How can I properly test the supervisor process?

regards,



More information about the erlang-questions mailing list