diff options
author | Grigory Starinkin <starinkin@gmail.com> | 2018-05-08 21:42:43 +0100 |
---|---|---|
committer | Grigory Starinkin <starinkin@gmail.com> | 2018-05-08 21:42:43 +0100 |
commit | c5ae9f3fed035d2ef8f072da53647c212f92db8b (patch) | |
tree | d6a095081f8c4972961ff7866e7f742d1eeb9f24 /src/rebar_prv_local_install.erl | |
parent | 59a99a704fd22eb1e5b451fbe2d97ae7a6e29d9d (diff) |
start at least one async thread in async thread pool
fixes an issue when shell is terminated with an error "Bus error: 10",
on attempt to run rebar shell with verbose logging
Diffstat (limited to 'src/rebar_prv_local_install.erl')
-rw-r--r-- | src/rebar_prv_local_install.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_local_install.erl b/src/rebar_prv_local_install.erl index bb019c4..c41812f 100644 --- a/src/rebar_prv_local_install.erl +++ b/src/rebar_prv_local_install.erl @@ -64,7 +64,7 @@ format_error(Reason) -> bin_contents(OutputDir) -> <<"#!/usr/bin/env sh -erl -pz ", (rebar_utils:to_binary(OutputDir))/binary,"/*/ebin +sbtu +A0 -noshell -boot start_clean -s rebar3 main $REBAR3_ERL_ARGS -extra \"$@\" +erl -pz ", (rebar_utils:to_binary(OutputDir))/binary,"/*/ebin +sbtu +A1 -noshell -boot start_clean -s rebar3 main $REBAR3_ERL_ARGS -extra \"$@\" ">>. extract_escript(State, ScriptPath) -> |