Commit 8b184cb
authored
[backport] Fix Dart Sass failing in enterprise Windows with Group Policy restrictions (#14369)
* Fall back to direct sass.bat execution when safeWindowsExec fails
Enterprise Windows environments with Group Policy / AppLocker rules
that block .bat execution from %TEMP% cause the safeWindowsExec temp
wrapper to fail, breaking dart-sass invocation (regression from #14002).
Try safeWindowsExec first (handles spaces in paths), then fall back to
direct execProcess call (v1.8 behavior) when it fails.
Fixes #14367
* Add changelog entry for #143671 parent e541ca7 commit 8b184cb
2 files changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
129 | 144 | | |
130 | 145 | | |
131 | 146 | | |
| |||
0 commit comments