How to run a lua file in cmd from Sublime Text 3?
问题 I want to run lua files in cmd (for a reason I can't use build system). How can I do this? 回答1: Since you just want to call a cmd command you can easily write your own plugin. Just open your user directory and create a python file (e.g. run_lua.py ). Or just go with Tools >> New Plugin. This plugin runs the command lua $file and afterwards pauses until the user pressed a key: import subprocess import sublime_plugin class RunLuaCommand(sublime_plugin.WindowCommand): def run(self): view = self