The issue #84 was marked as fixed by commit fd6c471, but the problem still exists on my machine.
Expected behavior
When the command line is configured to use pwsh, all commands and script executions should use pwsh.
Actual behavior
Opening a terminal uses pwsh correctly, but executing a PowerShell script still launches Windows PowerShell (powershell.exe).
So currently there are still two different execution paths:
- Open terminal → respects configured shell
- Execute script → still uses Windows PowerShell
Environment
- Visual Studio 2026 18.6.0
- Open Command Line 2.6.14
- PowerShell 7.6.1 installed
The issue #84 was marked as fixed by commit
fd6c471, but the problem still exists on my machine.Expected behavior
When the command line is configured to use
pwsh, all commands and script executions should usepwsh.Actual behavior
Opening a terminal uses
pwshcorrectly, but executing a PowerShell script still launches Windows PowerShell (powershell.exe).So currently there are still two different execution paths:
Environment