class com(threading.Thread):
def __init__(self, comand):
threading.Thread.__init__(self)
self.command = comand
def run(self):
global wTree
wTree.get_widget("status_text").set_text("Завершено")
os.system(self.command)
sys.exit(0)
os.system(self.command)
sys.exit(0) и другие любые действия
В чем может быть ошибка ?