Sfoglia il codice sorgente

Merge pull request #519 from ferd/fix-shell-output

OTP apps show proper output
pull/517/head
Tristan Sloughter 10 anni fa
parent
commit
9a7807df94
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. +4
    -1
      src/rebar_prv_shell.erl

+ 4
- 1
src/rebar_prv_shell.erl Vedi File

@ -85,8 +85,11 @@ format_error(Reason) ->
shell(State) ->
setup_name(State),
setup_paths(State),
maybe_boot_apps(State),
setup_shell(),
%% apps must be started after the change in shell because otherwise
%% their application masters never gets the new group leader (held in
%% their internal state)
maybe_boot_apps(State),
rebar_agent:start_link(State),
%% this call never returns (until user quits shell)
timer:sleep(infinity).

Caricamento…
Annulla
Salva