escript

DATA TYPES

comment() = string()
emu_args() = string()
extract_option() = compile_source | {section, [section_name()]}
section() = shebang | {shebang, shebang() | default | undefined} | comment | {comment, comment() | default | undefined} | {emu_args, emu_args() | undefined} | {source, filename() (see module file) | binary()} | {beam, filename() (see module file) | binary()} | {archive, filename() (see module file) | binary()} | {archive, [zip_file()], [zip_create_option()]}
section_name() = shebang | comment | emu_args | body
shebang() = string()
zip_create_option() = term()
zip_file() = filename() (see module file) | {filename() (see module file), binary()} | {filename() (see module file), binary(), file_info() (see module file)}

Functions


create(File::filename() (see module file) | binary, Options::[section()]) -> ok | {ok, binary()} | {error, term()}

extract(File::filename() (see module file), Options::[extract_option()]) -> {ok, [section()]} | {error, term()}

script_name() -> string()

start() -> no_return()

start(EscriptOptions::[string()]) -> no_return()