protected async runTFCommand()

in src/cloudShell.ts [150:170]


    protected async runTFCommand(command: string, workdir: string): Promise<boolean> {
        if (this.terminal) {
            this.terminal.show();
            if (!await this.cloudShell.waitForConnection()) {
                vscode.window.showErrorMessage("Establish connection to Cloud Shell failed, please try again later.");
                TelemetryWrapper.sendError(Error("connectFail"));
                return false;
            }

            if (workdir) {
                this.terminal.sendText(`cd "${workdir}"`);
            }
            if (this.isCombinedWithPush(command)) {
                await vscode.commands.executeCommand("azureTerraform.push");
            }
            this.terminal.sendText(`${command}`);
            return true;
        }
        TelemetryWrapper.sendError(Error("sendToTerminalFail"));
        return false;
    }