bug or feature in erl -pa

Joe Armstrong erlang@REDACTED
Tue Sep 7 14:05:00 CEST 2010


$ erl -pa '../ebin'
> m(foo)
... works - the autoloader finds foo.beam in ../ebin

BUT

$ erl -pa ../ebin
> cd("..").
> m(foo).

fails :-)

Should ../ebin be converted to an absolute path in the "erl -pa ..." command?

/Joe


More information about the erlang-questions mailing list