(self, args)
| 49 | return os.path.join(work_dir, "result.json") |
| 50 | |
| 51 | def get_cmd(self, args): |
| 52 | tool_path = os.path.join(self.tool_home, "bin", settings.PLATFORMS[sys.platform], self.tool_name) |
| 53 | if settings.PLATFORMS[sys.platform] == "windows": |
| 54 | tool_path = f"{tool_path}.exe" |
| 55 | return __lu__().format_cmd(tool_path, args) |
| 56 | |
| 57 | |
| 58 | tool = Compass |