[erlang-questions] code_server and ERL_LIBS: bug or feature?
Fri Jun 13 09:58:34 CEST 2014
the embedded mode has always been this way, and I think it is the desired
behaviour. In embedded mode, all code is loaded during system start-up
according to the boot script (where all required paths are specified).
There is no dynamic code loading in this mode.
In some (debugging) cases you might want to load code which is not part of
your release (i.e. not specified in the boot script). This is still
possible, but then you need to explicitly add the paths using code:add_path
2014-06-10 21:35 GMT+02:00 Serge Aleynikov <serge@REDACTED>:
> When trying to start a node with the "-mode embedded" command-line option
> I noticed that ERL_LIBS environment variable setting gets ignored. Has
> this always been this way or it is a recent change? Is this the desired
> The culprit is in the code_server:add_loader_path/2 function.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions