ITeye博客

erl init stop

standalone · 2013-01-10 14:19 · erlang · 编程语言 · Markdown

一直疑惑诸如command line

erl -noshell -s Module Function Arguments -s init stop

后面加的init stop是干什么用的,看了stackoverflow上面一个问答清楚了:

http://stackoverflow.com/questions/5269300/run-erlang-application-without-terminal-depending

One useful variation is to also call the stop/0 function of the init module so that the Erlang environment will stop when it has finished running your function.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。