-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Closed
Closed
Allowing headless mode (running in the background) prevents Windows Terminal from opening again#18845
Bug
Copy link
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.There's another issue on the tracker that's pretty much the same thing.
Description
Windows Terminal version
1.22.11141.0
Windows build number
10.0.26100.0
Other Software
No response
Steps to reproduce
- Open Windows Terminal
- Go to Settings > Compatibility, and turn on "Allow Windows Terminal to run in the background"
- Alternatively, open settings.json and set
"compatibility.allowHeadless": true
- Alternatively, open settings.json and set
- Save settings
- Close Windows Terminal
- Attempt to open Windows Terminal
Expected Behavior
Windows Terminal opens
Actual Behavior
Windows Terminal does not open
In order to get out of this situation, I need to do one of the following:
Option 1
- Reboot my PC
- Open Windows Terminal (this will only work for the first attempt after booting)
- Go to Settings > Compatibility, and turn off "Allow Windows Terminal to run in the background"
- Save settings
Option 2
- Open settings.json and set
"compatibility.allowHeadless": false
- Reboot my PC (importantly, this must be done after disallowing headless mode)
I suspect that the issue is that, after allowing headless mode, there is a background process for Windows Terminal running. The fact that this process is running prevents any new Windows Terminal windows from opening. However, I can't figure out which background process is responsible.
zikhan
Metadata
Metadata
Assignees
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.There's another issue on the tracker that's pretty much the same thing.