On Tue, Sep 21, 2010 at 1:22 PM, Thijs Koerselman
<thijskoersel...@gmail.com> wrote:
> Hi,
>
> I'm trying to execute an external lua script from within my CGILua
> script. So my cgi script contains something like:
> os.execute("/path/to/executable.lua > /dev/null")
>
> then the executable.lua script start with:
> #!/usr/bin/env lua
>
> This results in an error in my cgi script:
> env: lua: No such file or directory
>
> I guess this has to do with the way the cgi script sets its
> environment variables, but I have no clue how to fix this properly.

Specify the full path to your Lua executable.

- Jim

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to