Skip to content

Windows issues #56

Closed
Closed

Description

@r-clements

On Windows I hit four issues that blocked the deployment until I worked around them:

  1. subprocess.run(["gcloud", ...]) fails because gcloud is gcloud.cmd and Windows CreateProcess does not honor PATHEXT for non-.exe files. Same for bq and gsutil.

  2. The 💡 emoji in the "infracost not installed" message crashes on the default cp1252 console encoding.

  3. The Cloud SQL verify_instance_running provisioner uses bash-only syntax (set +e, brace expansion), but Terraform's local-exec defaults to cmd.exe on Windows.

  4. Project paths under OneDrive cause intermittent PermissionError during shutil.rmtree of the workspace.

Activity

  1. assigned and unassigned on May 30, 2026
  2. tomtranjr commented on Jul 28, 2026

    @tomtranjr
    Member

    This has been resolved by #58, which fixed all four Windows issues described here:

    • gcloud/bq/gsutil .cmd resolution, fixed via resolve_tool/run_tool in platform_compat.py
    • Console crash on the 💡 emoji under cp1252, fixed via configure_console_encoding()
    • Cloud SQL provisioner bash-only syntax under cmd.exe, fixed by setting interpreter = ["bash", "-c"] and resolving Git Bash on Windows
    • OneDrive PermissionError during workspace cleanup, fixed via robust_rmtree()

    This landed on main via #66. Closing.

    Props to @jivanb7 for addressing these issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions