lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Rena once stated:
> On Tue, Oct 8, 2013 at 10:10 AM, Roberto Ierusalimschy <
> roberto@inf.puc-rio.br> wrote:
> 
> > A typical problem with root programs is environment variables. If you
> > are running Lua 5.2, you probably will want to use the '-E' option.
> > If you are running Lua 5.1, you probably will need to enclose your
> > program in an environment that takes care of LUA_INIT.
> >
> > -- Roberto
> >
> >
> Thanks everyone for the feedback. Does Lua use any environment variables
> when embedded in a C host I'd need to know about? I wouldn't be using the
> standalone interpreter for this.

  The only two I see are LUA_PATH and LUA_CPATH.  

  -spc