Thread:Extension talk:Scribunto/interpreter exited with status 2./reply

Try setting  to an appropriate path, and see if anything useful is logged to that file.

Unfortunately, when the standalone Lua interpreter dies, it's not really possible to get back any sort of reason out of it.