<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 9/8/20 2:06 PM, Jérôme de Bretagne
wrote:
</div>
<blockquote type="cite"
cite="mid:CA+kEDGGjtzFbrxyxYj9roq+4J8jZ3==gv7K0bxR14-MmgDB3kw@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">There are some ways to find the absolute path of a script from within
itself, including following symlinks, such as this one (with a proper
formatting in the bug tracker):
</pre>
</blockquote>
Hi Jérôme,<br>
<br>
If you had an escript print the result of <span class="pl-en">code</span>:<span
class="pl-en">root_dir</span>(), that should be the simplest way
of getting the root path of the Erlang installation that was used to
start the escript.<br>
<br>
Best Regards,<br>
Michael<br>
</body>
</html>