I have an Erlang application running as a daemon configured as an SSH server. I can connect to it using the SSH client, and I get the standard Erlang REPL.
If I am 'q ().' I closed Erlang VM, not the connection. If I close the connection ("~." For OpenSSH, close the window in PuTTY), some processes will remain in the sshd_sup / ssh_system_xx_sup tree. They look like obsolete shell processes.
I do not see any exported function in the shell module that would allow me to close the shell (and therefore the SSH connection) without affecting the entire VM.
How can I exit an SSH session so as not to leave outdated processes in the VM?
erlang
Garret smith
source share