[erlang-questions] How do I prevent escript from reading stdin?

Roger Lipscombe roger@REDACTED
Mon Jul 1 15:42:46 CEST 2019


On Mon, 1 Jul 2019 at 12:22, José Valim <jose.valim@REDACTED> wrote:
>
> IIRC you can pass the -noinput flag at the beginning of the escript:
>
> #!/usr/bin/env escript
> %%! -noinput

Works. Thanks.



More information about the erlang-questions mailing list