[erlang-questions] [noob-question]: Run modules outside of the directory
David Sveningsson
ext@REDACTED
Wed Jan 7 11:06:44 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sten Gruener wrote:
> Hi,
>
> I have got a somehow noob question. I am trying to find a possibility
> to run a function from a module which is not inside of the directory.
> Is there a way to do it? Like modifying the path variable?
>
Hi, run erl with the -pa flag, like "erl -pa /path/to/files". You can
read more about it in the man-pages.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAklkfrQACgkQ6pa1H/H5pqXgeACePKW1GQVL17pgoJYBvvTFyyRL
rXAAnA+LsFeouivBQ4jc491uW2lXgHLA
=gQfv
-----END PGP SIGNATURE-----
More information about the erlang-questions
mailing list