Open
Description
Issue Description
If a scriptblock is passed to pwsh
in the integrated terminal, no output is shown. Same script when passed as a string works fine.
Repro:
pwsh -c { echo 1 }
This works though:
pwsh -c "echo 1"
Attached Logs
Follow the instructions in the README about
capturing and sending logs.
Environment Information
Visual Studio Code
Name | Version |
---|---|
Operating System | Windows_NT x64 10.0.18950 |
VSCode | 1.36.1 |
PowerShell Extension Version | 2019.5.0 |
PowerShell Information
Name | Value |
---|---|
PSVersion | 7.0.0-preview.2 |
PSEdition | Core |
GitCommitId | 7.0.0-preview.2 |
OS | Microsoft Windows 10.0.18950 |
Platform | Win32NT |
PSCompatibleVersions | 1.0 2.0 3.0 4.0 5.0 5.1.10032.0 6.0.0 7.0.0-preview.2 |
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 |
---|---|---|
azure-pipelines | ms-azure-devops | 1.152.0 |
cmake | twxs | 0.0.17 |
code-spell-checker | streetsidesoftware | 1.7.17 |
cpptools | ms-vscode | 0.24.1 |
csharp | ms-vscode | 1.21.0 |
docs-article-templates | docsmsft | 0.2.7 |
docs-markdown | docsmsft | 0.2.12 |
docs-preview | docsmsft | 0.3.24 |
powershell | ms-vscode | 2019.5.0 |
powershell-preview | ms-vscode | 2019.5.0 |
vscode-docker | ms-azuretools | 0.7.0 |
vscode-markdownlint | DavidAnson | 0.29.0 |
vscode-svg-previewer | vitaliymaz | 0.5.0 |
vscode-svgviewer | cssho | 2.0.0 |
vscode-yaml | redhat | 0.4.1 |