diff options
author | Felix The Hammer Gallo <[email protected]> | 2014-10-10 20:36:13 +0000 |
---|---|---|
committer | Felix The Hammer Gallo <[email protected]> | 2014-10-10 20:36:13 +0000 |
commit | e1b066ee48feba20f515403316df180c32b9adb7 (patch) | |
tree | 0ef82aa4fbd1d58631f559565e35a7db68401f73 /priv/templates/erl_script.dtl | |
parent | 40d6b895f9d1ce6b359502d39663b6fef2b55f1a (diff) | |
download | relx-e1b066ee48feba20f515403316df180c32b9adb7.tar.gz relx-e1b066ee48feba20f515403316df180c32b9adb7.tar.bz2 relx-e1b066ee48feba20f515403316df180c32b9adb7.zip |
Added the 'escript' command to the extended release script to permit
escripts to run in the release's environment without having to break
release encapsulation.
Example use:
$ _rel/myrelease/bin/myrelease escript priv/test.escript arg1 arg2 arg3
The argument to 'escript' is relative to the release's root.
The script is started with the 'escript' binary in the release's erts
release; has a current working directory of the release's root directory;
and additionally is started with visibility of an environment variable
called 'RELEASE_ROOT_DIR' which contains the absolute path of the
release's root directory.
Diffstat (limited to 'priv/templates/erl_script.dtl')
0 files changed, 0 insertions, 0 deletions