Closed helloyan closed 7 years ago
that's expected, you want ctrl-d if you need to detach
I mean how can i reenter the console to control the system, ctrl+d only can exit the console
normal workflows i regularly use:
bin/change_ls start
bin/change_ls attach
bin/change_ls attach
to attach againbin/change_ls remote_console
, starts up a second node that allows you to observe the first, you can safely Ctrl-C
out of it without killing italso 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.
@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 .
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