[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to run a Lua script file
- From: Philippe Lhoste <PhiLho@...>
- Date: Wed, 16 Sep 2009 18:07:21 +0200
On 15/09/2009 15:43, Anurag Sharma wrote:
when I try the following, I get error message
lua -e "package.path='\\mypath\?.lua;'..package.path" -lmyapp_Lua ...
The "mypath" needed to be replaced by to your real path.
On Tue, Sep 15, 2009 at 7:01 PM, steve donovan
<email@example.com <mailto:firstname.lastname@example.org>> wrote:
This error message is instructive; Lua is just telling you that your
myapp_Lua module is not found on the Lua module path. Is myapp_Lua.lua
in one of the these standard places? If not, either move it there, or
read up about the LUA_PATH environment variable.
To re-iterate Steve's question, where is your myapp_Lua.lua (or .dll) file? Is it in one
of the listed places?
Perhaps you need to specify a "current directory" to your process object.
-- (near) Paris -- France
-- -- -- -- -- -- -- -- -- -- -- -- -- --