Hello I created this plugin
import os, sublime_plugin
class CmdCommand(sublime_plugin.TextCommand):
def run(self, edit):
file_name_php=self.view.file_name() file_name_xml=file_name_php[:-4] os.system("php "+file_name_php+" "+file_name_xml+".xml 1") os.system(file_name_xml+".xml")
But while it get executed I can’t use sublime because it gets freezed, how can I execute this on a second thread or something like that?