zsh processes accumulating under WSL; not being killed on window closure
See original GitHub issue-
I am on the latest Hyper.app version
-
I have searched the issues of this repo and believe that this is not a duplicate
-
OS version and name: Windows 10 17763
-
Hyper.app version: 3.0.0
-
Relevant information from devtools: N/A
-
The issue is reproducible in vanilla Hyper.app: Yes
Issue
Using zsh under WSL, closing Hyper will not kill the zsh process. If zsh is launched from a .bashrc, zsh processes will accumulate each time a terminal window is opened, leading to terminal slowdown after just a few windows have been opened and closed.
To reproduce, run zsh in Hyper using WSL shell, then close the terminal window. Repeat a few times, if desired. Then, open Task Manager (or run ps -ef
; the output will be manageably short on WSL) and count the zsh instances.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:12
Top Results From Across the Web
zsh processes accumulating under WSL; not being killed on ...
To reproduce, run zsh in Hyper using WSL shell, then close the terminal window. Repeat a few times, if desired. Then, open Task...
Read more >WSL processes consuming my CPU - Super User
WSL processes consuming my CPU · 1) Open the run command box by pressing Window Key + R. Type in optionalfeatures · 2)...
Read more >Change Log - Wez's Terminal Emulator
New: splitting panes in wezterm ssh now works like spawning new tabs: the new program is started on the remote host with no...
Read more >linux - How to check if a program is run in Bash on Ubuntu on ...
The following works in bash on Windows 10, macOS, and Linux: #!/bin/bash set -e if grep -qEi "(Microsoft|WSL)" /proc/version &> /dev/null ; then...
Read more >the windows subsystem for linux instance has terminated ...
To do this, follow the instructions that have been given down below: First of all, make sure that WSL is closed. Open up...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah, my solution has just been to use Ctrl-D rather than closing out of the window. This seems to kill all of the processes as desired.
One last update to this issue: I resolved it by merely reinstalling Windows. I hadn’t refreshed since last year so it was a good time to do a fresh install!