Re: erl in unix pipe?

Anthony Howe <[email protected]> Fri, 21 Jan 2022 09:34:30 -0500
Newsgroups gmane.comp.lang.erlang.general
Organization SnertSoft
Message-ID <[email protected]>
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
[email protected]                                   BarricadeMX & Milters
http://snert.com/    http://nanozen.snert.com/     http://snertsoft.com/