Commit 32e8fb7
fix: use powershell.exe instead of pwsh.exe for build_data_writer (bazel-contrib#3553)
Stock Windows ships with Windows PowerShell 5.1 (powershell.exe) but not
PowerShell 7+ (pwsh.exe). Using pwsh.exe causes builds to fail on
machines without PowerShell 7 installed. Also adds -ExecutionPolicy
Bypass since Windows PowerShell defaults to Restricted policy which
blocks .ps1 script execution.
Fixes bazel-contrib#3552
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Ignas Anikevicius <240938+aignas@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Richard Levasseur <richardlev@gmail.com>1 parent abe2699 commit 32e8fb7
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1369 | 1369 | | |
1370 | 1370 | | |
1371 | 1371 | | |
1372 | | - | |
1373 | | - | |
1374 | | - | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
1375 | 1383 | | |
1376 | 1384 | | |
1377 | 1385 | | |
| |||
0 commit comments