Erlang Mailing Lists

Author Message

<  Erlang questions mailing list  ~  erl -run - what's needed

Guest
Posted: Fri Sep 09, 2011 8:16 pm Reply with quote
Guest
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
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
Post received from mailinglist
Guest
Posted: Fri Sep 09, 2011 8:21 pm Reply with quote
Guest
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 <comptekki@gmail.com> wrote:
> I've tried erl -run module with a start function in the code and erl
> -run module fun, but it keeps crashing.

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum