hyper: Crashes when `wsl.exe` is selected as shell

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate

Issue

Hyperterm crashes when shell: 'C:\\Windows\\System32\\wsl.exe', is set in the config. I noticed this after I updated to 1.4.4. After restarting the app, it just crashes.

Windows also updated before hand but Hyper was not crashing that time.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 2
  • Comments: 22

Most upvoted comments

@itsjoel works here, try

shell: 'C:\\Windows\\System32\\wsl.exe',
shellArgs: [],

Thanks! It seems that it doesn’t work if you have anything in shellArgs, even “”. It’s working now.

So that I can set my default shell to zsh? bash.exe reads a different file than the wsl.exe one.

@leodutra I know this but the OP just wants to use zsh which doesn’t require the baggage of WSL to work - it only requires Git-Bash in Windows.

One might ask WTF you’re using Hyper in Windows for if you’re intention is to actually use WSL? Why not use a GUI inside WSL and install Hyper there?

If, however, you’re goal is the same as the OP, Git-Bash is more than sufficient.

I’m not sure what happened but this still doesn’t work. It doesn’t work with git-bash in Windows, either.

I will try the fix mentioned in https://github.com/zeit/hyper/issues/2200 It’s about powershell so I didn’t bother with it much.

Really sleepy right now so tomorrow i will try it