[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Discover default package.path, package.cpath?
- From: nobody <nobody+lua-list@...>
- Date: Fri, 4 Jan 2019 02:08:20 +0100
On 03/01/2019 23.09, Norman Ramsey wrote:
I suppose I can simply cause my code to crash if any of the sensitive
environment variables are set. Inconvenient, but safe.
LUA_INIT can re-define os.getenv to always pretend that LUA_INIT*,
LUA_*PATH* etc. are absent. (LUA_INIT can re-define absolutely anything
and do whatever it wants… it could easily wrap debug.sethook,
debug.getinfo etc. and deliver the fantasy that you want to believe in.)