[erlang-questions] input too fast
Fredrik Svahn
fredrik.svahn@REDACTED
Fri Jun 29 23:01:44 CEST 2007
On 6/29/07, Fredrik Svahn <fredrik.svahn@REDACTED> wrote:
>
> It would seem to me that having stdin sent to a process of your choice is
> definitely more "erlangy" than doing file:reads (if there was some back
> pressure). But using open_port still seems a little bit dirty to me... :-)
> It might be a bit difficult to explain to a newbie and also has the added
> disadvantage of using extra command line options (-user as in Ulfs example
> at the shootout).
I should mention that I had the same problem with the "stdin as file"
approach. I had to patch escript.c and change "-noshell" to "-noinput". Does
anyone have any idea what the problem might be?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070629/b2ed5147/attachment.htm>
More information about the erlang-questions
mailing list