如何从 erlang 进程中分离 shell?

How to detach shell from erlang process?

我想在不关闭进程的情况下从 erlang 进程中分离 shell。是否存在类似 halt() 或 q() 的功能但用于分离 shell?我尝试使用 Ctrl+D 但它不起作用,我使用 ssh 可能是问题所在

--------更新------------

我 运行 我的 rebar3 使用命令 "bin/timeio start" 发布,有时我需要从 shell 在该进程中执行命令,然后我使用 rebar3 发布命令 [=18] 连接到该进程=](这是简单的 erlang shell,我假设)但我无法脱离进程

CTRL-D 应该可以让您退出并保留应用程序 运行。当您 "attach" 时,您正在做与 运行 to_erl 相同的事情。要从此退出,请键入 control-D.,

 bin ⚑ ◒  → ./otto attach                                                                                                                                           master ✗ 83d
Attaching to /tmp/erl_pipes/otto@127.0.0.1/erlang.pipe.1 (^D to exit)

(otto@127.0.0.1)1> [Quit]
 bin ⚑ ◒  → ./otto attach                                                                                                                                           master ✗ 83d
Attaching to /tmp/erl_pipes/otto@127.0.0.1/erlang.pipe.1 (^D to exit)

(otto@127.0.0.1)1> [Quit]
 bin ⚑ ◒  → ./otto attach                                                                                                                                           master ✗ 83d
Attaching to /tmp/erl_pipes/otto@127.0.0.1/erlang.pipe.1 (^D to exit)

(otto@127.0.0.1)1> [Quit]
 bin ⚑ ◒  →                                                                                                                                                         master ✗ 83d