tabby
tabby copied to clipboard
Terminal's background process won't exit
Environment:
Version: 1.0.196
Platform: Linux x64 5.15.0-69-generic
Plugins: none
Frontend: xterm-webgl
Describe: When closing a terminal tab, the terminal background process will not exit.
Although he will prompt that there is a process running in the background, it will not close the background process This problem occurs both when using tabby directly in linux and when using ssh to connect to linux in windows
Steps to reproduce:
- To run any daemon in tabby, here's an easy way:
sudo apt install xorg-x11-apps
xclock &
- Close the tab that just ran the task, or close the entire tabby
- You can find that the xclock page just launched still resides on the desktop and does not exit
suggestion:
In linux, you can send a SIGHUP signal to the terminal to exit the terminal
I think sending a signal like this before closing the terminal should do the trick Its equivalent command is:
xclock &
kill -SIGHUP $$