[erlang-questions] application:start() works but -s command line switch crashes
Schneider
schneider@REDACTED
Tue May 13 14:16:06 CEST 2014
Hi list,
Starting my application from the command line with -s gives an error
$ erl -sname rpi2 -pa ebin/ -pa deps/*/ebin/ -s othost
Erlang/OTP 17 [erts-6.0] [source-07b8f44] [async-threads:10]
[kernel-poll:false]
{"init terminating in
do_boot",{undef,[{othost,start,[],[]},{init,start_it,1,[]},{init,start_em,1,
[]}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
Starting the application like this works fine:
$ erl -sname rpi2 -pa ebin/ -pa deps/*/ebin/
Erlang/OTP 17 [erts-6.0] [source-07b8f44] [async-threads:10]
[kernel-poll:false]
Eshell V6.0 (abort with ^G)
(rpi2@REDACTED)1> application:start(othost).
What is going wrong here?
Thanks
Frans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140513/b18a2c5e/attachment.htm>
More information about the erlang-questions
mailing list