Commit e3ec5cd
authored
fix(computer): suppress PowerShell CLIXML progress noise on Windows (#2756)
Add $ProgressPreference = 'SilentlyContinue' to the runPowershell helper
so non-interactive PowerShell child processes no longer emit CLIXML progress
records (starting with '#< CLIXML') into stdout. This noise appeared in
@midscene/computer health check logs (screenshot, monitor listing) and
wasted tokens in agent flows.
Fixes #27511 parent b4c3a31 commit e3ec5cd
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
256 | 260 | | |
257 | 261 | | |
258 | 262 | | |
| |||
0 commit comments