code:priv_dir()
Bengt Kleberg
eleberg@REDACTED
Wed Dec 5 16:41:51 CET 2001
> X-Authentication-Warning: avc303.etxb.ericsson.se: etxuwig owned process doing
-bs
> Date: Wed, 5 Dec 2001 16:26:39 +0100 (MET)
> From: Ulf Wiger <etxuwig@REDACTED>
> X-X-Sender: etxuwig@REDACTED
> To: Bengt Kleberg <eleberg@REDACTED>
> cc: erlang-questions@REDACTED
> Subject: Re: code:priv_dir()
> MIME-Version: 1.0
>
...deelted
> What I meant was that if your objective with setting the path was
> to find priv_dir, then it wouldn't matter if you called
> code:add_path("tmp/cnh2/ebin") or code:add_path("tmp/cnh2").
But setting the path
code:add_path("tmp/cnh2").
did not find priv_dir.
(whereas setting the path
code:add_path("tmp/cnh2/ebin"
did find it)
bengt
More information about the erlang-questions
mailing list