AW: Hello (Erlang) World!

Chris Pressey cpressey@REDACTED
Mon Aug 16 07:19:58 CEST 2004


On Sun, 15 Aug 2004 10:39:37 +0200
<Thomas.Herchenroeder@REDACTED> wrote:

> >   erl -noshell -run hello run -run erlang halt
> 
> Ah, yes. I had been playing with something like '-run kernel halt'. 
> 
> Now the process terminates on my Windows Erlang 5.0.2, but doesn't
> print anything! (I had to replace the -run flag with the older -s
> flag). It works as expected on the Linux Erlang 5.3.6.3. I guess I
> have to upgrade my Windows version :-).

If memory serves, you (still?) have to use '-run init stop' on Windows
to give the emulator time to shut down.  Killing it immediately with
'-run erlang halt' discards the output buffer :/

-Chris



More information about the erlang-questions mailing list