You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
System.UnauthorizedAccessException: Access to the path 'PSReadLineHistoryFile_-1 241867006' is denied. #857
System.UnauthorizedAccessException: Access to the path 'PSReadLineHistoryFile_-1
241867006' is denied.
at System.Threading.Mutex.CreateMutexCore(Boolean initiallyOwned, String name
, Boolean& createdNew)
at Microsoft.PowerShell.PSConsoleReadLine.DelayedOneTimeInitialize()
at Microsoft.PowerShell.PSConsoleReadLine.Initialize(Runspace runspace, Engin
eIntrinsics engineIntrinsics)
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineI
ntrinsics engineIntrinsics, CancellationToken cancellationToken)
(The program continued to show this exception message every time I pressed ENTER. )
Environment Data
PowerShell Version: 6.1.2.0
PSReadLine 2.0.0-beta3
OS:Windows 8.1 Professional [6.3.9600]
Steps to reproduce or exception report
I just run the program. The command is:
"C:\Program Files\PowerShell\6\pwsh.exe"
Additional:
Working Directory: C:\Program Files\PowerShell\6
PEB address: 0x7ff6b0b99000 (Image type: 64-bit)
Parent: 7zFM.exe (7760)
Mitigation: DEP (permanent); ASLR (high entropy); CF Guard
Protection: None
Priority: 8
Base priority: Normal
yjf2002ghty The mutex name was fixed to be consistent across powershell sessions in #1061. It's likely resolve this issue. Can you please upgrade to the 2.0.1 version of PSReadLine from PowerShellGallery? See the upgrading section for instructions.
I will close this issue. If you run into the same with the 2.0.1 version of PSReadLine, please reopen it.
Activity
daxian-dbw commentedon Apr 20, 2020
yjf2002ghty The mutex name was fixed to be consistent across powershell sessions in #1061. It's likely resolve this issue. Can you please upgrade to the 2.0.1 version of PSReadLine from PowerShellGallery? See the upgrading section for instructions.
I will close this issue. If you run into the same with the 2.0.1 version of PSReadLine, please reopen it.