summaryrefslogtreecommitdiff
path: root/include/rebar.hrl
diff options
context:
space:
mode:
authoralisdair sullivan <alisdairsullivan@yahoo.ca>2014-05-20 06:35:40 +0000
committeralisdair sullivan <alisdairsullivan@yahoo.ca>2014-05-26 22:35:10 +0000
commit89cd24937e1b0dd183082b1bbc05d0a67f33ad98 (patch)
tree1bc8d60e79166be6f27139edd571c2f01707182b /include/rebar.hrl
parent93621d0d0c98035f79790ffd24beac94581b0758 (diff)
improve behaviour of `rebar shell`
attempt to emulate the behavior of `erl -pa ebin -pa deps/*/ebin` fix error messages and formatting issues of `rebar shell` by shutting down and restarting the user subsystem in a mode more hospitable to the shell than the simple user started when run as an escript. emulate `error_logger` behaviour when the shell is run via `erl` add documentation of the shell command limitations: the erlang interrupt handler is not enabled when running as an escript and there is no interface to re-enable it via erlang code. this means `ctrl-c` will immediately exit the running process unlike when running the shell via `erl`. `ctrl-g` is, however, unaffected the user subsystem is killed and restarted but not supervised. if your code somehow relies on the user subsystem crashing and restarting `rebar shell` may interfere with it's operation
Diffstat (limited to 'include/rebar.hrl')
0 files changed, 0 insertions, 0 deletions