def EvaluateSpecXML(self, xml_source): """Deprecated, use EvaluateSpecXMLAsync instead """ spec = EvaluationSpec() spec.load_from_xml_source(xml_source) arf, stdout, stderr, exit_code = spec.evaluate(self.system.config) return (arf, stdout, stderr, exit_code)
def EvaluateSpecXMLAsync(self, xml_source): spec = EvaluationSpec() spec.load_from_xml_source(xml_source) token = self.system.evaluate_spec_async(spec) return token
def EvaluateSpecXML(self, xml_source): spec = EvaluationSpec() spec.load_from_xml_source(xml_source) arf, stdout, stderr, exit_code = spec.evaluate(self.system.config) return (arf, stdout, stderr, exit_code)