[erlang-bugs] bug in escript

Kostis Sagonas kostis@REDACTED
Wed Sep 26 22:56:45 CEST 2012


On 09/26/2012 04:15 PM, Joe Armstrong wrote:
> I think there is a bug in escript
>
> I have an escript in the same directory as escript, erlc etc.
>
> If I cd to this directory I cannot run the escript. But I can run it
> from any other directory

Wild guess: You are probably running the escript as:

  $ my_escript

and you do not have . in your path. Either add it (at the end) or use:

  $ ./my_escript


Kostis



More information about the erlang-bugs mailing list