Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowerShell won't launch on Mac #1600

Closed
le-brian opened this issue Jun 10, 2020 · 2 comments
Closed

PowerShell won't launch on Mac #1600

le-brian opened this issue Jun 10, 2020 · 2 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@le-brian
Copy link

Issue: Powershell gives an error when launching on a mac running macOS 10.15.5
Repro:

Environment

PSReadLine: 2.0.0
PowerShell: 7.0.1
OS: Darwin 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64
Last 0 Keys


Exception

System.IO.IOException: The system cannot open the device or file specified. : 'PSReadLineHistoryFile_1959767272'
   at System.Threading.Mutex.CreateMutexCore(Boolean initiallyOwned, String name, Boolean& createdNew)
   at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name)
   at Microsoft.PowerShell.PSConsoleReadLine.DelayedOneTimeInitialize()
   at Microsoft.PowerShell.PSConsoleReadLine.Initialize(Runspace runspace, EngineIntrinsics engineIntrinsics)
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)

`

  • Upgrade powershell to 7.0.1, attempt to relaunch: upgrade is successful but issue persists
@ghost ghost added the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label Jun 10, 2020
@vexx32
Copy link

vexx32 commented Jun 10, 2020

Looks like a duplicate of #1464 / #1579. See fix here: #1464 (comment)

@le-brian
Copy link
Author

That did resolve it, thanks!

@ghost ghost removed the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label Jun 10, 2020
@daxian-dbw daxian-dbw added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants