Commit 7fe074d
Use
On Windows, the name of the `gcloud` command is `gcloud.cmd`,
while on MacOS and Linux the name is just `gcloud`.
While on the Windows Command prompt invoking `gcloud` works, this
is not the case when a process is spawned with Rust's `Command`,
causing the application to fail to execute the command.
As a solution, we introduce an OS specific variable reflecting the
actual command name for each OS.gcloud.cmd to invoke gcloud on Windows1 parent 5d93e26 commit 7fe074d
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
78 | 84 | | |
79 | 85 | | |
80 | 86 | | |
| |||
0 commit comments