erlware / relx

Sane, simple release creation for Erlang
http://erlware.github.io/relx
Apache License 2.0
697 stars 232 forks source link

how to exit ctrl+c #602

Closed helloyan closed 7 years ago

helloyan commented 7 years ago

I use rebar3 and use the extend scripts.

If i exit the attach console with ctrl+c ,next time i use attach and the console lost response and return node is not running _20170725180958

lrascao commented 7 years ago

that's expected, you want ctrl-d if you need to detach

helloyan commented 7 years ago

I mean how can i reenter the console to control the system, ctrl+d only can exit the console

lrascao commented 7 years ago

normal workflows i regularly use:

ferd commented 7 years ago

also I would generally advise against using named pipes as a way to interact with Erlang. A little known fact is that they call fsync on every line of output. If there's any logging going on, that can seriously stall your system.

helloyan commented 7 years ago

@lrascao yes,you give the solution, and i will always use remote_console from now, and it also resolve the any problem that if the pipe delete accidentally(centos always manage the tmp directory)

@ferd thanks for explain .