<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Dec 17, 2014 at 9:49 AM, Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I am not even sure how -pa or ERL_LIBS work when you have both app-1 and app-2 in your lib directory. Which one does it choose? Will it choose the right version when I want to start a shell for experimenting? I have not seen anything that allows me to choose what version to run outside of making a release/upgrade.</blockquote><div> </div><div>The code path is searched in order, that's why we have both -pa and -pz. Of course, when a module has been loaded, even if the code path changes afterwards, it is not reloaded automatically.</div><div><br></div><div>regards,</div><div>Vlad</div><div> </div></div></div></div>