Open windows from a previous session should not re-run processes or have ability to selectively stop that #17275
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Windows Terminal version
1.19.11213.0
Windows build number
10.0.22631.3593
Other Software
cmd.exe with any app running as startup
Steps to reproduce
Open windows from a previous session
and optionally auto-start when logging inHKCU/HKLM\Software\Microsoft\Windows\CurrentVersion\Run
- in my case it directly points to the exe file)Observe how app is re-run through both Windows Terminal and Windows - in case of i.e. https server it will frequently show message about port being in use in one of the instances
Expected Behavior
I'd expect either of following:
Ignore this process for session restore
or similar)Actual Behavior
Two instances of the app are run - in some cases it will lead to crashes. If you keep on restarting and app doesn't close you will have incrementally more apps start
The text was updated successfully, but these errors were encountered: