Commit 12f8c38
committed
fix: add -NoProfile flag to PowerShell subprocess invocation
On Windows, PowerShell loads the user profile by default, which may
contain UI-related commands (e.g., setting CursorPosition) that fail
in a non-interactive subprocess environment. This causes all shell
commands to timeout with 'The handle is invalid' errors.
Add -NoProfile flag to skip profile loading in the shell tool's
PowerShell subprocess calls.
Fixes #13411 parent 7ba9695 commit 12f8c38
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
0 commit comments