-
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
nohup/tmux processes killed when last terminal closes #1007
Comments
Welcome. It's actually when the last Bash.exe console closes that the environment gets shut down, which is more of a distinction without a difference. Yeah, it's been noted and a fix requested. You can add your vote. There are some workarounds, which mostly deal with ways to hide that last Bash.exe window so we don't accidentally close it by mistake. Once you have even one hidden Bash.exe window running, you can start lots of things in the background or as daemons. Not perfect, and I haven't seen a way to start things at Windows boot (only at Logon of the user). |
Windows Insider Build 17046 allows programs to execute without an active terminal. |
Available in Spring Creators. |
Running
nohup sleep 10000 &
ortmux
+<prefix>d
to detach only hang around until the last terminal is closed.Programs run in tmux or nohup will last until they are killed by the user.
Processes are killed when the last terminal closes.
10.0.14393
run
nohup sleep 10000 &
,ps aux
to ensure the process is running, close terminal, reopen and runps aux
again.tmux
orcoreutils
The text was updated successfully, but these errors were encountered: