MCPcopy Create free account
hub / github.com/Tencent/CodeAnalysis / __get_stderr_log

Method __get_stderr_log

client/tool/androidlint.py:186–197  ·  view source on GitHub ↗

获取执行stderr的log :param sub_proc: :return: stderr中的log

(self, sub_proc)

Source from the content-addressed store, hash-verified

184 return result
185
186 def __get_stderr_log(self, sub_proc):
187 """
188 获取执行stderr的log
189 :param sub_proc:
190 :return: stderr中的log
191 """
192 if not os.path.exists(sub_proc.stderr_filepath):
193 return ""
194 spc_err = open(sub_proc.stderr_filepath, "r", encoding="utf-8")
195 log = spc_err.read()
196 spc_err.close()
197 return log
198
199 def __get_issues_from_file(self, file_path, source_dir):
200 items = []

Callers 1

gradle_mode_analyzeMethod · 0.95

Calls 1

readMethod · 0.45

Tested by

no test coverage detected