Commit 6f275f9
fix: preserve Windows system env vars for cmd.exe to work
cmd.exe needs system environment variables to function correctly.
Instead of clearing all env vars on Windows, only clear them on Unix.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent e19bdb7 commit 6f275f9
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
178 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
185 | 190 | | |
186 | | - | |
187 | 191 | | |
188 | 192 | | |
189 | 193 | | |
| |||
0 commit comments