diff options
author | Tristan Sloughter <tristan.sloughter@gmail.com> | 2015-06-15 11:47:11 -0500 |
---|---|---|
committer | Tristan Sloughter <tristan.sloughter@gmail.com> | 2015-06-15 11:47:11 -0500 |
commit | 9a7807df9443742c59551f22547788aa4c33d98d (patch) | |
tree | f5e939bfda9084f8deaf4bcd83aa900144f9c189 /src | |
parent | 1972f1f85a25e15ccf13a6400dcb48183ae63624 (diff) | |
parent | 1994a7177c60c54f38fdbac045554821b14ac048 (diff) |
Merge pull request #519 from ferd/fix-shell-output
OTP apps show proper output
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_shell.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rebar_prv_shell.erl b/src/rebar_prv_shell.erl index e407ff2..84ad723 100644 --- a/src/rebar_prv_shell.erl +++ b/src/rebar_prv_shell.erl @@ -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). |