[erlang-questions] escript with module dependencies

Robin <>
Wed Jan 23 04:48:33 CET 2008

This is the header to compile an Escript:

#!/usr/bin/env escript

To include a search path see:



On Jan 22, 6:03 pm, "Helmick, Mike" <> wrote:
> Hello -
> I'm looking to run several scripts that depend on the same modules.
> I have several questions/issues related to this.
> 1) Is there are way to compile the .erl files to beams when the escript is invoked?
>  - thus eliminating the need for a build step.
> 2) Is there a way to signal escript to look for beams in a different directory than the current runtime?
> thanks,
> mike helmick
> _______________________________________________
> erlang-questions mailing list
> ://www.erlang.org/mailman/listinfo/erlang-questionscode:add_patha/1 to append

More information about the erlang-questions mailing list