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
Stack overflow error when starting pwsh with -Command #24461
Ditto for me on the same macOS as yours, Sindre J. I. Sivertsen (@sjsivert) (15.0.1); the only obvious difference that my machine has an M1 Pro chip, but I wouldn't expect that to make a difference.
Did you perhaps install the x86-64 version of PowerShell? [System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture should report Arm64 for you, not X64.
Ditto for me on the same macOS as yours, Sindre J. I. Sivertsen (@sjsivert) (15.0.1); the only obvious difference that my machine has an M1 Pro chip, but I wouldn't expect that to make a difference.
Did you perhaps install the x86-64 version of PowerShell? [System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture should report Arm64 for you, not X64.
Running ARM64.
One weird thing I forgot to mention is that this broke out of the blue—not after any OS or PowerShell update. I was literally iterating on a PowerShell script when it just stopped working.
I have tried reinstalling PowerShell with Homebrew. Maybe Homebrew leaves some state even after an uninstallation?
Activity
237dmitry commentedon Oct 17, 2024
It works in this environment:
vexx32 commentedon Oct 17, 2024
Also working here on MacOS Ventura 🤔
mklement0 commentedon Oct 17, 2024
Ditto for me on the same macOS as yours, Sindre J. I. Sivertsen (@sjsivert) (15.0.1); the only obvious difference that my machine has an M1 Pro chip, but I wouldn't expect that to make a difference.
Did you perhaps install the x86-64 version of PowerShell?
[System.Runtime.InteropServices.RuntimeInformation]::OSArchitectureshould reportArm64for you, notX64.sjsivert commentedon Oct 18, 2024
Running ARM64.
One weird thing I forgot to mention is that this broke out of the blue—not after any OS or PowerShell update. I was literally iterating on a PowerShell script when it just stopped working.
I have tried reinstalling PowerShell with Homebrew. Maybe Homebrew leaves some state even after an uninstallation?
sjsivert commentedon Oct 24, 2024
This is no longer an issue in Poweshell version 7.4.6!
microsoft-github-policy-service commentedon Oct 24, 2024
📣 Hey Sindre J. I. Sivertsen (@sjsivert), how did we do? We would love to hear your feedback with the link below! 🗣️
🔗 https://aka.ms/PSRepoFeedback
Stop 19 test files racing on one PowerShell startup cache (#9371)
Start pwsh through the shared runner, as every other test in this rep…
Ask AMSI whether the installer compiles, which is the mechanism #10805 …
Ask AMSI whether the installer compiles, which is the mechanism unslo…