How to stop an Application
Suresh S
sureshsaragadam@REDACTED
Mon Jan 6 07:19:47 CET 2003
Hi ,
This is the start module of my aplicaiton,
there r two call back functions start and stop
So can i use stop function (i.e entry_app:stop([])
from an other module) to stop this applicaiton
i am calling stop function but it is not working
what parameter i have to pass to this stop function
inorder to stop the application from an other module.
-module(entry_app).
-behaviour(application).
-export([start/2,stop/1]).
start(Type, _Args) ->
io:format("In Application Start Module.~n"),
entry_sup:start_link().
stop(S) ->
ok.
Thanks in advace
suresh s
________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com
More information about the erlang-questions
mailing list