i have 2 lua programs main.lua, module.lua in directory /home/user/lua. want run main.lua while in different directory: /home/user. add following in lua_path
export lua_path=$lua_path:/home/user/lua/?.lua when :
/home/user$ th /home/user/lua/main.lua i error module.lua not found.
how can fix this?
Comments
Post a Comment