lua-users home
lua-l archive

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


io_execute allows you to execute an os command from lua.
io_getenv I believe looks for the lua environment variables in the
operating system environment.

Neither of these is critical to Lua running properly.

Ryan.


On Tue, 29 Mar 2005 22:03:05 +0900, Nelson Wong <gogoneruson@gmail.com> wrote:
> Thanks, Asko,
> 
> emmm...but I built the lib at window, which is the same enviorment as pc build.
> I do not really prefer to make short dummies for them. BTW, what do
> io_execute, and io_getenv do?!
> Perhaps, it is for standalone runtime?
> 
> Thanks
> Nelson
> 
> 
> On Tue, 29 Mar 2005 10:07:14 +0300, Asko Kauppi <asko.kauppi@sci.fi> wrote:
> >
> > Might it be that the 'system' and 'getenv' functions really are not
> > there?
> >
> > Like in WinCE devices, there are no environment variables.  In this
> > case, you need to make short dummies for them (or comment out the usage
> > in Lua library code).
> >
> > -ak
> >
> > 29.3.2005 kello 06:02, Nelson Wong kirjoitti:
> >
> >  Hi all,
> > >
> > > I am currently trying to port Lua to Mac-base system (Console!!),
> > > however, I got following linker errror, where OS specific operations
> > > are not found.
> > >
> > > luaz.lib(liolib.c.obj) : error LNK2019: unresolved external symbol
> > > system referenced in function io_execute
> > > luaz.lib(liolib.c.obj) : error LNK2019: unresolved external symbol
> > > getenv referenced in function io_getenv
> > > ...
> > >
> > > Does anyone has the same experience, or know how to resolve this
> > > problem?
> > >
> > > Thanks in advance.
> > >
> > > Nelson
> > >
> >
> >
>