Hyper window freezes when I try to close it
- [x] I am on the latest Hyper.app version
- [x] I have searched the issues of this repo and believe that this is not a duplicate
- OS version and name: Version 1903 Windows Pro Insider Preview
- Hyper.app version: 3.0.2
Issue
I am using hyper with a cmd shell, I also have wsl and oh my zsh set up. when I run wsl command in my hyper terminal, wsl and ohmyzsh works just fine, but whenever I try to exit the window, it freezes and it stays like that until I kill the process through the Task Manager
I can +1 this, also happens when trying to do a full reload.
OS version and name: Microsoft Windows 10 Education Version 10.0.18362 Build 18362 Hyper.app version: 3.0.2
me too, wsl always crash when I exit by hyper. But it safe when I use exit command.
- [x] I am on the latest Hyper.app version
- [x] I have searched the issues of this repo and believe that this is not a duplicate
- OS version and name: Windows 10 [1903]
- Hyper.app version: 3.0.2 (stable)
- The issue is reproducible in vanilla Hyper.app: yes
Issue
This (be patient and wait a few seconds):

It doesn't crash when you run exit on the Linux instance and then close the window.
It doesn't crash when you run
exiton the Linux instance and then close the window.
It still crashed, the reason it did that is because I was using oh my zsh, and when I ran the exit command, I only exited oh my zsh to the linux instance.
I tried to exit oh my zsh, then exit linux, and the window closed just fine.

Thank you 👏
Yeah, but IMO it should automatically close it when using the X button...
Yeah, but IMO it should automatically close it when using the X button...
Indeed, I ll keep this issue open, maybe someone has a solution.
I think I got a fix working on my computer: I changed the settings to be:
...
shell: 'C:\\Windows\\System32\\wsl.exe',
shellArgs: ['--'], // get the input from the command line
...
(or just run wsl -- in the command line if you're using that as default)
Can anyone confirm?
Edit:
I have it set so Oh-my-zsh is automatically started from bash by adding exec zsh at the top of ~/.bashrc, could be a factor?
I loved the terminal, but this problem is kind of frustrating. Windows 10 user.
I also get this problem if I do not run exit from wsl in Hyper before closing. If I run wsl -- from cmd/PowerShell in Hyper it still freezes if I then hit the window close button.
Windows 10 v1903 Hyper 3.0.2
#3763 solve my problem.We can use config like
shell: 'wsl.exe',
shellArgs: [],
#3763 solve my problem.We can use config like
shell: 'wsl.exe', shellArgs: [],
Works like a charm
@pedroCX486 are there any benefits of using CMDer over regular cmd?
I installed Hyper yesterday and this happens to me.
I installed Hyper yesterday and this happens to me.
Same here, using Powershell on Windows 10
This happens when anything is running under Hyper for me, aside from whatever shell it starts. For example - an SSH client.
#3763 solve my problem.We can use config like
shell: 'wsl.exe', shellArgs: [],Works like a charm
The above solution doesn't work for me.. T.T
shell: 'wsl.exe', shellArgs: [],
Doesn't work for me too
I think I got a fix working on my computer: I changed the settings to be:
... shell: 'C:\\Windows\\System32\\wsl.exe', shellArgs: ['--'], // get the input from the command line ...(or just run
wsl --in the command line if you're using that as default) Can anyone confirm?Edit:
I have it set so Oh-my-zsh is automatically started from bash by adding
exec zshat the top of~/.bashrc, could be a factor?
This is the working solution
This bug should be fixed with #3794, but I have no idea whom I need to ping to get it merged.