2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/erl
2017-06-15 18:58:23 +00:00

11 lines
231 B
Plaintext

# erl
#
# Start Erlang runtime system
# Execute compiled BEAM file (helloworld.beam)
erl -noshell -s helloworld start -s init stop
# Run code from the command line
erl -noshell -eval 'io:fwrite("Hello, World!\n"), init:stop().'