-
Notifications
You must be signed in to change notification settings - Fork 134
Open
Description
Environment
- OS: Windows 10 / 11
- VS Code + Cloud Code for Cloud Run
- Google Cloud SDK installed via official Windows installer
- Default install path contains spaces
- skaffold invoked by Cloud Code
Problem
When Cloud SDK is installed under a path containing spaces,
Cloud Code executes skaffold via cmd.exe without proper quoting.
As a result, the command fails with:
'C:\Users...\Google\Cloud' is not recognized as an internal or external command
Steps to Reproduce
- Install Google Cloud SDK using the official Windows installer (default path)
- Open a Cloud Run project in VS Code with Cloud Code
- Run build / deploy / debug (which invokes skaffold)
- Command fails due to unquoted path with spaces
Expected Behavior
- The Windows installer should avoid spaces in the default install path, or
- Cloud Code / skaffold invocation should properly quote paths with spaces
Workaround
Reinstall Google Cloud SDK into a path without spaces (e.g. C:\gcloud).
After reinstalling without spaces, everything works correctly.
Notes
This is a common Windows constraint for CLI tools.
The current default installer path makes Cloud Code unusable out-of-the-box on Windows.
Metadata
Metadata
Assignees
Labels
No labels