question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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 Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
SteveL-MSFTcommented, Aug 19, 2019

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

1reaction
maxwellbcommented, Aug 19, 2019

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows Store applications incorrectly assumed to be ...
Windows Store applications incorrectly assumed to be console applications ... Invoke-Item and Start-Process freeze the terminal on Unix-like ...
Read more >
Command-line interrupts in OS X vs Linux - macos
Occasionally, when I'm developing on my Mac, I'll get a process that hangs. When that happens, I'll try the following: Ctrl + C...
Read more >
How to make a terminal freeze if its idle fr 15 minutes
I want to make my terminal freeze, if it is not used for more than 15 minutes. I do have the option to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found