Open DarkWiiPlayer opened 7 years ago
is there a reason you need to use exec? Most of lapis can also run on the command line without openresty?
Also you can use require
to load and execute a file right away, just leave off the .lua
pretty much just for aesthetics; a script that runs a file of code inside the server looks prettier if you can write "lapis execfile \
It would be nice if there was a prettier way to do this than
lapis exec 'loadfile"filename"()'