Skip to content

powershellExePath setting not accepting full path with env var #929

Open
@rkeithhill

Description

@rkeithhill

System Details

  • Operating system name and version: Windows 10 CU
  • VS Code version: 1.13.1
  • PowerShell extension version: 1.4.1
  • Output from $PSVersionTable: 5.1.15063.447

Issue Description

I've set the powershellExePath setting to run a local build using a full path that uses a vscode env var and the extension appears to be trying to use that as a relative path:

powershell.exe cannot be found or is not accessible at path C:\Users\Keith\.vscode\extensions\ms-vscode.powershell-1.4.1\out\${env:USERPROFILE}\GitHub\rkeithhill\PowerShell\src\powershell-win-core\bin\Debug\netcoreapp2.0\win10-x64\publish\powershell.exe

Note it works fine if I don't use the ${env:xx} syntax. So not a huge problem but it would be nice if it did support env vars. :-)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions