On Windows, the preferred way to start the Erlang system is:
werl <script-flags> <user-flags>
This will start Erlang in its own window, which is nice for interactive
use (command-line editing will work and there are scrollbars).
All flags except the -oldshell
flag work as in erl
.
Ctrl-C is reserved for copying text to the clipboard (Ctrl-V to paste). To interrupt the runtime system or the shell process (depending on what has been specified with the +B system flag), you should use Ctrl-Break.
In cases there you want to redirect standard input and/or standard output
or use Erlang in a pipeline, the werl
is not suitable, and the
erl
program should be used instead.