Wiki
Clone wikiCore / LuaSandbox.lua
Back to Beyond the Codea in-app reference
LuaSandbox.lua
Introduction
Before any files in your project are loaded, Codea loads a file named LuaSandbox.lua
that contains code to disable Lua functionality considered to be unsafe in the Codea environment.
The functionality disabled in version 1.5.2 of Codea is as follows:
arg = nil -- table with command line arguments
os.execute = nil -- passes a command to the operating system
os.exit = nil -- terminates the host program
Updated