[erlang-questions] escript

Tuncer Ayaz tuncer.ayaz@REDACTED
Wed Apr 30 09:43:10 CEST 2008


On Wed, Apr 30, 2008 at 9:42 AM, Tuncer Ayaz <tuncer.ayaz@REDACTED> wrote:
> 2008/4/30 ayman abolfadl <ayman_abolfadl@REDACTED>:
>
> > Hi,
>  >
>  > I am running a very simple escript but receiving an error as follows
>  >
>  > escript: Internal error: {badmatch,{error,enoent}}
>  >
>  > The escript just performs an io:format and the content of the escript is as
>  > follows.
>  >
>  > #! /usr/local/bin/escript escript
>  > main(_) ->
>  >     io:format("Hello world\n" ).
>
>  What about the following:
>  #! /usr/local/bin/escript
>
>
> main(_) ->
>     io:format("Hello world\n" ).
>

Forgot to add: That one should work :)



More information about the erlang-questions mailing list