[erlang-questions] escript cutting output
Thu Nov 17 10:41:29 CET 2011
Output to a pipe, "|", will be faster than output to the screen,
provided the output fits in the pipe buffer, as it does in this case.
Think about writing to a file vs the screen.
On Thu, 2011-11-17 at 10:33 +0100, Motiejus Jakštys wrote:
> On Thu, Nov 17, 2011 at 10:19:44AM +0100, Bengt Kleberg wrote:
> > Greetings,
> > Erlang IO is handled by a separate process. It is probably still
> > outputting when your escript exits.
> > Using "|cat" speed up the output.
> What do you mean? It's just another file descriptor to output to...
> > Both are right. You are not doing anything wrong.
> For me both solutions look like workarounds. And how to do it the PropEr
> Erlang(ish) way?
More information about the erlang-questions