-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "import" Function and "UNSAFE_NO_SANDBOX" Flag for Accessing Built-in Lua Objects & Functions #359
Conversation
Is it necessary to make the flag SCREAM_CASE? I have never seen it used in command arguments. |
No. |
I would be okay dropping the use of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having the option is fine, all in needs is a way to set it without screaming ;-)
Changed |
Hoping this is a more acceptable solution than #308.
This adds an
import
function which is enabled with theUNSAFE_NO_SANDBOX
command line flag & is used to access built-in Lua objects & functions within theconfig.ld
file.Example config.ld:
Example execution: