This repository was archived by the owner on Apr 24, 2026. It is now read-only.
Commit ba52e90
Fix bash runtime on Windows to use PowerShell instead of cmd.exe
On Windows, exec:bash was writing a .sh file then spawning cmd.exe with
the script path — cmd.exe cannot execute .sh files, producing blank output.
Now detects IS_WIN + bash runtime, writes a .ps1 file with PowerShell header,
and spawns POWERSHELL with -NoProfile -NonInteractive -File flags.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent efb5c0c commit ba52e90
1 file changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
121 | 124 | | |
122 | 125 | | |
123 | | - | |
124 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
125 | 133 | | |
126 | 134 | | |
127 | 135 | | |
| |||
0 commit comments