You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run a windows executable, tested issue happening with /mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe
Open a second wsl terminal and do the same
close the first terminal
powershell exists on the second terminal too!
Expected Behavior
I would expect the executable to continue to run in the second terminal, as this is what happens with linux executables such as fish shell, and this is what happens when running outside of tmux.
Actual Behavior
powershell exits for every instance running inside of tmux created after the first.
you can close any other instance of tmux and it will work as expected, only when the first is closed do the rest exit too.
only happens when running the executable in tmux.
only happens for windows executables.
you can detach from the first tmux session and it will continue to run on the rest, but will still kill the rest when that terminal is closed.
tested happening with powershell terminal & alacritty.
I've been trying to find a work around but I could only get the other instances to stay alive if the first terminal is still alive, opening background tmux sessions which run the executable doesn't work.
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Windows Version
Microsoft Windows [Version 10.0.22621.3155]
WSL Version
2.1.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.146.1
Distro Version
Ubuntu 22.04
Other Software
TMUX 3.2a
Repro Steps
tmux
to get inside a tmux session/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe
Expected Behavior
I would expect the executable to continue to run in the second terminal, as this is what happens with linux executables such as fish shell, and this is what happens when running outside of tmux.
Actual Behavior
powershell exits for every instance running inside of tmux created after the first.
you can close any other instance of tmux and it will work as expected, only when the first is closed do the rest exit too.
only happens when running the executable in tmux.
only happens for windows executables.
you can detach from the first tmux session and it will continue to run on the rest, but will still kill the rest when that terminal is closed.
tested happening with powershell terminal & alacritty.
I've been trying to find a work around but I could only get the other instances to stay alive if the first terminal is still alive, opening background tmux sessions which run the executable doesn't work.
Diagnostic Logs
WslLogs-2024-03-07_00-23-21.zip
The text was updated successfully, but these errors were encountered: