04-23-2015, 03:39 PM
It won't be a lua problem, it will be a problem with using an external exe. The gameloop is basically being handcuffed while waiting for the return value from the .exe, so it strangles the framerate until it completes its process.