Skip to content
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

Fix the behavior of redbean -i -e CODE #807

Merged
merged 1 commit into from
May 2, 2023
Merged

Fix the behavior of redbean -i -e CODE #807

merged 1 commit into from
May 2, 2023

Conversation

jart
Copy link
Owner

@jart jart commented Apr 25, 2023

When redbean is functioning as a Lua interpreter, the -e flag should behave the same way as other open source language interpreters. Namely it should exit after evaluating the code rather than showing the REPL.

When redbean is functioning as a Lua interpreter, the `-e` flag should
behave the same way as other open source language interpreters. Namely
it should exit after evaluating the code rather than showing the REPL.
Copy link
Collaborator

@pkulchenko pkulchenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@pkulchenko pkulchenko merged commit a493b64 into master May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants