The start_erl program in its original form recognizes the following options:
++-
Mandatory. Delimits
start_erloptions from normal Erlang options. Everything on the command line before++is interpreted as options to be sent to theerlprogram. Everything after++is interpreted as options tostart_erlitself. -reldir <release root>-
Mandatory if environment variable
RELDIRis not specified and no-rootdiroption is specified. Tellsstart_erlwhere the root of the release tree is located in the file system (typically <Erlang root>\\releases). Thestart_erl.datafile is expected to be located in this directory (unless otherwise specified). If only option-rootdiris specified, the directory is assumed to be <Erlang root>\\releases. -rootdir <Erlang root directory>-
Mandatory if
-reldiris not specified and noRELDIRexists in the environment. This specifies the Erlang installation root directory (under which thelib,releases, anderts-<Version>directories are located). If only-reldir(or environment variableRELDIR) is specified, the Erlang root is assumed to be the directory exactly one level above the release directory. -data <data file name>-
Optional. Specifies another data file than
start_erl.datain the <release root>. It is specified relative to the <release root> or absolute (including drive letter, and so on). This option is used by the release handler during upgrade and is not to be used during normal operation. Normally the release data file is not to be named differently. -bootflags <boot flags file name>-
Optional. Specifies a file name relative to the release directory (that is, the subdirectory of <release root> where the
.bootfile and others are located). The contents of this file is appended to the command line when Erlang is started. This makes it easy to start the emulator with different options for different releases.