Description
Issue Description
I am experiencing a problem with running the below code in the Integrated terminal.
Register-EditorCommand -Name 'RunFileInExternalWindow' -DisplayName 'Run current file in external window' -ScriptBlock { Start-Process pwsh '-File',$psEditor.GetEditorContext().CurrentFile.Path }
Creating as discussed with @SeeminglyScience .
Attached Logs\screenshot
Environment Information
Visual Studio Code
Visual Studio Code(Click to Expand)
Name | Version |
---|---|
Operating System | Windows_NT x64 10.0.18363 |
VSCode | 1.42.1 |
PowerShell Extension Version | 2020.2.0 |
PowerShell Information
PowerShell Information(Click to Expand)
Name | Value |
---|---|
PSVersion | 7.0.0-rc.3 |
PSEdition | Core |
GitCommitId | 7.0.0-rc.3 |
OS | Microsoft Windows 10.0.18363 |
Platform | Win32NT |
PSCompatibleVersions | 1.0 2.0 3.0 4.0 5.0 5.1.10032.0 6.0.0 6.1.0 6.2.0 7.0.0-rc.3 |
PSRemotingProtocolVersion | 2.3 |
SerializationVersion | 1.1.0.1 |
WSManStackVersion | 3.0 |
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
Extension | Author | Version |
---|---|---|
powershell-preview | ms-vscode | 2020.2.0 |
remote-wsl | ms-vscode-remote | 0.42.3 |