tsloughter / rebar3_run

Run a release with one simple command
Other
25 stars 16 forks source link

Release started with rebar3_run cannot be killed with Ctrl+C #6

Open eproxus opened 7 years ago

eproxus commented 7 years ago

The started VM cannot be killed with Ctrl+C when starting a release with rebar3 run instead of rebar3 release && _build/default/rel/myrelease/bin/myrelease. Instead, q(). in the console has to be used.

$ rebar3 --version
rebar 3.3.2 on Erlang/OTP 19 Erts 8.1
$ rebar3 plugins list
--- Local plugins ---
rebar3_run
$ rebar3 plugins upgrade rebar3_run
===> No upgrade needed for rebar3_run

Not sure how to figure out the version of the plugin...

paulo-ferraz-oliveira commented 3 years ago

I've also seen this, but I rather like it 😄 Actually, I'd like it more in attach for live servers, though 😄

paulo-ferraz-oliveira commented 2 years ago

@eproxus, I'm not sure you're using the plugin anymore, but I believe something changed and this is no longer the default behaviour (not allowing CTRL+C).

eproxus commented 2 years ago

@paulo-ferraz-oliveira 👍 Thanks for letting me know. I'm currently not using it, but I'll keep it in mind the next time I do.