diff --git a/packages/cdktf-cli/src/bin/cmds/helper/terraform-login.ts b/packages/cdktf-cli/src/bin/cmds/helper/terraform-login.ts index 91faf5fb5f..2d99c2bdfa 100644 --- a/packages/cdktf-cli/src/bin/cmds/helper/terraform-login.ts +++ b/packages/cdktf-cli/src/bin/cmds/helper/terraform-login.ts @@ -72,7 +72,7 @@ the following file for use by subsequent Terraform commands: try { await open.default(this.terraformLoginURL, { allowNonzeroExitCode: true, - wait: true, + wait: false, // Should remain false. Otherwise, it waits for the app (browser) to exit/quit, not just the window. }); } catch (e) { logger.debug(