Commit e45a9f7
committed
fix: preserve PowerShell stdin functionality when adding UTF-8 encoding
- Add special case handling for '-' stdin sentinel in PowerShell commands
- Prevent UTF-8 encoding prefix from breaking 'pwsh -Command -' pattern
- Add comprehensive test case for stdin functionality
- Addresses bot review feedback from PR #4315
Signed-off-by: Chenyang Li <[email protected]>1 parent df6ba7b commit e45a9f7
1 file changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
93 | 100 | | |
94 | 101 | | |
95 | 102 | | |
| |||
628 | 635 | | |
629 | 636 | | |
630 | 637 | | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
631 | 651 | | |
632 | 652 | | |
0 commit comments