Powershell: Invoke-Item and Start-Process freeze the terminal on Unix-like platforms (macOS, Linux)

Created on 14 Jul 2019  路  5Comments  路  Source: PowerShell/PowerShell

Steps to reproduce

# Ditto for Start-Process
PSonUnix> Invoke-Item /

Expected behavior

The platform's GUI file manager should launch asynchronously and the invoking terminal should continue to be usable.

Actual behavior

The GUI file manager launches, but the invoking terminal becomes unusable - no further keyboard input is accepted.

Environment data

PowerShell Core 7.0.0-preview.1 on macOS 10.14.5
PowerShell Core 7.0.0-preview.1 on Ubuntu 18.04.2 LTS
Issue-Bug Resolution-Fixed WG-Engine

Most helpful comment

dotnet team says this is fixed in 3.0 Preview.9 which will come out next month I think, so if that fix works, this should be fixed in PS7 Preview.4

All 5 comments

For reference #9970.

This appears to be a regression in CoreFx. We haven't made any changes in this area. https://github.com/dotnet/corefx/issues/40193. This doesn't seem related to #9970

Ditto for Get-Help -Online

(7.0.0-preview.2 snap)

dotnet team says this is fixed in 3.0 Preview.9 which will come out next month I think, so if that fix works, this should be fixed in PS7 Preview.4

@SteveL-MSFT I just tested the "frameworkdependent" release of powershell-7.0.0-preview.2 with the nightly 3.0.100-preview9-013948 of dotnet core. Looks good to me.

Was this page helpful?
0 / 5 - 0 ratings