Skip to content

Execute File still ignores configured command line shell #109

Description

@huoshan12345

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
Image Image Image

Environment

  • Visual Studio 2026 18.6.0
  • Open Command Line 2.6.14
  • PowerShell 7.6.1 installed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions