Bruce Kissinger - 2012-11-07

There are several ways to run a WEE rules file from the command line. One method is to use the Erlang -noshell parameter as shown below.

erl -noshell -s wee run examples/cmd.wee -s init stop

In the example above, the WEE rules are contained in the file named cmd.wee in the examples directory.

Another method is to use the Erlang escript command. You can read more about escript at