[erlang-questions] How to start a .app from os's shell
wenew zhang
wenewboy@REDACTED
Mon May 12 07:15:46 CEST 2008
i try this:
erl -s socket_server_app start [normal,[]]
Erlang (BEAM) emulator version 5.5.5 [source]
[async-threads:0] [kernel-poll:false]
{"init terminating in
do_boot",{undef,[{socket_server_app,start,[['[normal,[]]']]},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
it's works normal if i type "socket_server_app:start(normal,[])." in
erl-shell,
there 's a problem how to pass normal,[] to start function,maybe i should
change the
source code that delete the "[]" argument(man erl said that argument must be
atoms) ,but i don't try it because i figure out this problem
use boot script ,http://erlang-china.org/study/erlang-release-demo.html
thank all response very much
Wenew Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080512/ed2c344a/attachment.htm>
More information about the erlang-questions
mailing list