Erl.exe input
Bengt Kleberg
eleberg@REDACTED
Fri Jun 14 14:07:28 CEST 2002
> From: "Aldo Calpini" <dada.list@REDACTED>
> ; echo 1 + 1. > inputfile
> ; erl < inputfile
> Eshell V5.1 (abort with ^G)
> 1> 2
> 2>
> BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
> (v)ersion (k)ill (D)b-tables (d)istribution
>
> I had to break erlang manually, because it just doesn't stop
> at the end of the redirected input. this is a bug IMHO.
admittedly the erlang program above is a bit simplistic. please feel
free to make it more robust/portable by appending something like:
init:stop().
bengt :-)
More information about the erlang-questions
mailing list