[erlang-questions] escript in embedded mode?

Håkan Mattsson hawk.mattsson@REDACTED
Mon May 15 16:07:02 CEST 2017


Try

#!/usr/bin/env escript
%% This is an -*- erlang -*- file.
%%! -mode embedded

main(...




/Håkan

On Mon, May 15, 2017 at 11:11 AM, Oliver Korpilla <Oliver.Korpilla@REDACTED>
wrote:

> Hello.
>
> Can I somehow stimulate an escript to preload all its modules?
>
> Like "erl -mode embedded" basically.
>
> Is this feasible/doable?
>
> Can I force preload of code manually as an alternative? I have
> time-sensitive processing to do and processing of first request seems to be
> impacted by code-loading.
>
> Thank you!
> Oliver
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170515/1798a896/attachment.htm>


More information about the erlang-questions mailing list