history #6
@ -47,7 +47,7 @@ ts() ->
|
|||||||
%% See: http://erlang.org/doc/apps/kernel/application.html
|
%% See: http://erlang.org/doc/apps/kernel/application.html
|
||||||
|
|
||||||
start(normal, _Args) ->
|
start(normal, _Args) ->
|
||||||
{ok, CWD} = file:get_cwd(),
|
erlang:show(CWD),
|
||||||
ok =
|
ok =
|
||||||
case net_kernel:stop() of
|
case net_kernel:stop() of
|
||||||
ok ->
|
ok ->
|
||||||
@ -61,9 +61,7 @@ start(normal, _Args) ->
|
|||||||
ok = application:ensure_started(hakuzaru),
|
ok = application:ensure_started(hakuzaru),
|
||||||
ok = application:ensure_started(zxwidgets),
|
ok = application:ensure_started(zxwidgets),
|
||||||
ok = application:ensure_started(sophia),
|
ok = application:ensure_started(sophia),
|
||||||
Result = gd_sup:start_link(),
|
gd_sup:start_link().
|
||||||
ok = file:set_cwd(CWD),
|
|
||||||
Result.
|
|
||||||
|
|
||||||
|
|
||||||
-spec stop(term()) -> ok.
|
-spec stop(term()) -> ok.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user