[erlang-bugs] erl -s <module> crashes

Vlad Dumitrescu vladdu55@REDACTED
Wed May 29 10:51:35 CEST 2013


Hi!

This part of the error message

On Wed, May 29, 2013 at 3:30 AM, Andrew Pennebaker <
andrew.pennebaker@REDACTED> wrote:

> ,{undef,[{hello,start,[],[]}
>

tells you that the system tried to execute hello:start(), which is the
behaviour when only specifying the module name after -s

>From the docs:

-s Mod [Func [Arg1, Arg2, ...]](init flag)

Makes init call the specified function. Func defaults to start. If no
arguments are provided, the function is assumed to be of arity 0. Otherwise
it is assumed to be of arity 1, taking the list [Arg1,Arg2,...] as
argument. All arguments are passed as atoms. See
init(3)<http://www.erlang.org/doc/man/init.html>
.


regards,
Vlad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20130529/9b44a108/attachment.htm>


More information about the erlang-bugs mailing list