lua -e "package.path='\\mypath\?.lua;'..package.path" -lmyapp_Lua ...
lua: C:\a\ScriptingLanguageSupport\Lua1.lua:5: attempt to index global 'myapp_Lua'
(a nil value)
stack traceback:
C:\a\ScriptingLanguageSupport\Lua1.lua:5: in main chunk
[C]: ?
[C]: ?
Some background information,
I have alerady set the following enviroment variables,
Path, Lua_dev, Lua_path, Lua_CPath
Also the same script works when I run it from Lua console by using a dofile command. In that case I launch Lua console using cmd /K lua -lmyapp_Lua..
Thanks
Anurag