Commit 8b81d24
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 94212ea commit 8b81d24
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
0 commit comments