erl in unix pipe?

Anthony Howe achowe@REDACTED
Fri Jan 21 15:34:30 CET 2022

On 2022-01-21 09:30, andrei zavada wrote:
> Have a look how this can be
> done:
> <>. The crucial
> point here is to call halt at the end. Also, using display (and not io:format)
> helps the output to go to stdout (exactly why is not something I can explain,
> though). I stole it from some other project.

Ohh!  That did the trick.  Thanks.

erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell

Anthony C Howe
achowe@REDACTED                                   BarricadeMX & Milters

More information about the erlang-questions mailing list