[erlang-questions] How do I prevent escript from reading stdin?
Roger Lipscombe
roger@REDACTED
Mon Jul 1 13:16:44 CEST 2019
If I paste a sequence of commands into my terminal window...
./some-escript
./not-escript
...then not-escript never gets run, because (afaict), some-escript ate
all of the input. If I paste the following:
./some-escript </dev/null
./not-escript
...then it's fine. But that's ugly.
How do I prevent escript from reading stdin?
More information about the erlang-questions
mailing list