| ELIXIR(1) | General Commands Manual | ELIXIR(1) |
elixir — The
Elixir script runner
elixir |
[OPTIONS] file ... |
The program starts the runtime system typically for the execution
of one or more scripts. It is similar to iex(1), but
elixir exits when the executed script does.
Note that many of the options mentioned here were borrowed from the Erlang shell, therefore erl(1) can be used as an additional source of information on the options.
-e
expression-r
fileelixir.-S
script-pa
directorySee also the function Code.prepend_path/1.
-pr
file-r (see above) but in
parallel.-pz
directorySee also the function Code.append_path/1.
--app
application--erl
parametersSee also the function Node.set_cookie/2.
--detachedConnections between nodes are transitive. For example, if node
A is connected to node B, and node B is connected to node C, then node A
is connected to node C. The option --hidden
allows creating a node which can be connected to another node, escaping
redundant connections.
The function Node.list/0 allows getting the list of nodes connected to the target node, however the list won't include hidden nodes. Depending on the input parameter, the function Node.list/1 allows getting the list which contains only hidden nodes (the parameter :hidden) or both hidden and not hidden nodes (the parameter :connected).
--sname
name--name
name--no-halt--ELIXIR_ERL_OPTIONS--cookie (see above). If the file
doesn't exist when a node starts, it will be created.This manual page contributed by Evgeny Golyshev.
| April 10, 2015 | Debian |