Running an application from the (unix) command line

Bengt Kleberg bengt.kleberg@REDACTED
Mon Jan 23 10:18:47 CET 2006


On 2006-01-21 08:53, Matthias Lang wrote:
...deleted
> Try following the instructions in the FAQ exactly:
> 
>   | 5.7. ...run an Erlang program directly from the unix shell?

...deleted
>   | 	matthias >erl -noshell -s hello hello_world -s init stop
>   | 	hello, world
 > 	
 > You find the rest of the FAQ at
 >
 >   http://www.erlang.org/faq/t1.html
 >

when i looked at the faq this was 5.6. did i get the wrong 
(old/obsolete) faq?


moreover, i think that the faq should also mention that ''init stop'' 
will be run in parallell with ''hello hello_world''. this is important 
when something longer running than hello_world is started this way :-)


bengt



More information about the erlang-questions mailing list