def runCommand(self, view, command) : gradle = Gradle.getGradlePath(view) buildFilePath = Gradle.getBuildDotGradle(view) # 別スレッドで実行 thread = BuildThread(gradle + " " + command + " " + buildFilePath) thread.start() #監視 + 表示 ThreadProgressObserver(thread, command)