add new chinese translations
This commit is contained in:
16
pages.zh/common/erl.md
Normal file
16
pages.zh/common/erl.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# erl
|
||||
|
||||
> 在 Erlang 编程语言中运行和管理程序。
|
||||
> 更多信息:<https://www.erlang.org>。
|
||||
|
||||
- 编译并运行顺序的 Erlang 程序作为普通脚本,然后退出:
|
||||
|
||||
`erlc {{path/to/file1 path/to/file2 ...}} && erl -noshell '{{mymodule:myfunction(arguments)}}, init:stop().'`
|
||||
|
||||
- 连接到正在运行的 Erlang 节点:
|
||||
|
||||
`erl -remsh {{nodename}}@{{hostname}} -sname {{custom_shortname}} -hidden -setcookie {{cookie_of_remote_node}}`
|
||||
|
||||
- 告诉 Erlang shell 从目录加载模块:
|
||||
|
||||
`erl -pa {{path/to/directory_with_beam_files}}`
|
Reference in New Issue
Block a user