-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All .exe apps hang in WSL2 within Tmux but succeed outside Tmux #5057
Comments
I was using the WSLtty terminal but have done the same test via Powershell. It still fails within tmux, but a little more gracefully. |
Problem solved. Bought a Mac. |
I have the same problem, under WSL 1. I login to my windows system via ssh, launch wsl and start tmux. All .exe calls hang, but I can abort them with ctrl-c. The same exe calls work from wsl without tmux, and also work under screen. Interestingly enough, they even work if I start a screen session in a tmux window. I wonder if it's some environment setting that messes things up. |
And, indeed. |
Windows build number: Version 10.0.19041.172
I am able to run Windows binaries (such as cmd.exe) from WSL2 Ubuntu if I simply open the WSL2 terminal and execute the command from my shell of choice (zsh).
However, if I am inside of a tmux session, the command hangs, returns no output, and I can't kill the command with Ctrl+c. I have to kill the tmux pane and the process ends up stuck in my processes list with the tag [defunct].
Why would being inside tmux prevent a Windows command from executing?
I have included the strace from inside tmux:
strace.txt
and the strace from outside:
strace_outside.txt
Thanks for any insight. I am happy to include more information if asked.
The text was updated successfully, but these errors were encountered: