Created
February 24, 2017 15:15
-
-
Save wbond/ce4dca7818f8280efb7890686716a3e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Default.exec import ExecCommand | |
class MyFirstExecCommand(ExecCommand): | |
def finish(self, proc): | |
super().finish(proc) | |
errs = self.output_view.find_all_results() | |
if len(errs) == 0: | |
sublime.active_window().run_command('my_second_exec_command') | |
class MySecondExecCommand(ExecCommand): | |
def finish(self, proc): | |
super().finish(proc) | |
errs = self.output_view.find_all_results() | |
if len(errs) == 0: | |
sublime.active_window().run_command('my_final_command') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment