# It's saved under path_to_Packages/User/ import sublime import sublime_plugin class RunBuildCommand(sublime_plugin.WindowCommand): def run(self, build_system): self.window.run_command( "set_build_system", {"file": build_system } ) self.window.run_command( "build" ) # all credits for these guys http://www.bit-101.com/blog/?p=3439. =)