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

prevent running a script that is already loaded #89

Open
lneto opened this issue Jan 19, 2024 · 1 comment
Open

prevent running a script that is already loaded #89

lneto opened this issue Jan 19, 2024 · 1 comment

Comments

@lneto
Copy link
Contributor

lneto commented Jan 19, 2024

e.g.,

$ lunatik run script.lua
$ lunatik run script.lua # -> should raise an error
@glk0
Copy link
Contributor

glk0 commented Mar 21, 2024

We could check if driver.__runtimes [script] is defined, and raise an error ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants