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: https://github.com/hmmr/riak_cs/blob/develop-3.0/Makefile#L9
> <https://github.com/hmmr/riak_cs/blob/develop-3.0/Makefile#L9>. 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
http://snert.com/    http://nanozen.snert.com/     http://snertsoft.com/


More information about the erlang-questions mailing list