[erlang-questions] erl -run - what's needed

Wes James <>
Fri Sep 9 22:21:13 CEST 2011


Never mind.  I thought I had the .erl file compiled, but it wasn't.
When I erlc file.erl and then ran erl -run mod it worked.

-wes

On Fri, Sep 9, 2011 at 2:16 PM, Wes James <> wrote:
> I've tried erl -run module with a start function in the code and erl
> -run module fun, but it keeps crashing.  What is needed for this to
> work right?  I just want to run erl and have mod:fun be called as I
> start erl.
>
> Thanks,
>
> -wes
>



More information about the erlang-questions mailing list