Open arihant2math opened 1 month ago
It seems like this line is unix only.
It works for me (windows 11 Build 22631.3447) When clicking on the terminal with the default configuration it opens cmd.exe for a shell. I find it quite odd that there is no panic whatsoever. Are you building under native windows or wsl? are you sure zed isn't still running? Is cmd.exe working correctly? Try disabling any antivirus application before starting the terminal in zed.
It works for me (windows 11 Build 22631.3447) When clicking on the terminal with the default configuration it opens cmd.exe for a shell.
Issues are likely not going to be reproducible for all users, especially because this is windows.
I find it quite odd that there is no panic whatsoever. Are you building under native windows or wsl?
I doubt wsl is even supported, I am in fact building under natively.
are you sure zed isn't still running? Is cmd.exe working correctly?
yes and yes
Try disabling any antivirus application before starting the terminal in zed.
uh ... I don't see how this would help?
Terminals work out of the box in basically every other ide/text editor on my computer (JetBrains, VSC, etc.) so this isn't some sort of issue with my computer.
This is a silent panic that is occurring because alacrity is mis-configured in some way (to the best of my knowledge). Part of me suspects that zed is feeding in a ~
to cmd.exe
(as part of the working directory or some other configuration), which leads to the crash or zed could be trying to spawn a sh
shell or similar and crashing because of that.
I don't have antivirus installed
- This is a silent panic that is occurring because alacrity is mis-configured in some way (to the best of my knowledge). Part of me suspects that zed is feeding in a
~
tocmd.exe
(as part of the working directory or some other configuration), which leads to the crash or zed could be trying to spawn ash
shell or similar and crashing because of that.
Good thinking, but can you prove that? And what about the return code when zed exits?
- This is a silent panic that is occurring because alacrity is mis-configured in some way (to the best of my knowledge). Part of me suspects that zed is feeding in a
~
tocmd.exe
(as part of the working directory or some other configuration), which leads to the crash or zed could be trying to spawn ash
shell or similar and crashing because of that.Good thinking, but can you prove that? And what about the return code when zed exits?
Well it's silent, I can't really prove it any more than the fact alacrity had a similar issue: https://github.com/alacritty/alacritty/issues/7615
To be honest to me this feels like something in your environment is forcefully terminating zed for some reason. Are you on your home device? Or some sort of corporate managed device?
To be honest to me this feels like something in your environment is forcefully terminating zed for some reason. Are you on your home device? Or some sort of corporate managed device?
The thing is, it worked after changing that setting. It is a home device.
In that case i cant help you... I am very sorry, but i have no idea what could be causing this, and the fact that i cant replicate this issue on neither of my two devices doesnt help it...
Check for existing issues
Describe the bug / provide steps to reproduce it
When opening the terminal (by clicking on the button on the toolbar) on windows, the entire application crashes unless the following is set in the zed settings:
where the program is either
pwsh
orcmd
or any other installed shell.Environment
Zed: v0.136.0 (Zed Dev 0c2d71f1ace6c5ca43e00179898ff9c8a982d9ae) OS: Windows 10.0.22635 Memory: 15.9 GiB Architecture: x86_64
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.The logs simply end with
(The log message is from alacritty)
Zed.log