Windows Terminal hangs on exit with 'process exited with code xxx'
Posted: 4/30/2020 11:06:15 AM
By:
Times Read: 1,424
0 Dislikes: 0
Topic: Windows

Enjoying the awesome new Windows Terminal? But run into weird issues once in a while where you type exit and instead of the window closing, it gives you this message: [process exited with code ####] Turns out that's by design for some reason. There's a way to stop that with a profile setting named closeOnExit so that it always closes on exit.

Add "closeOnExit": "always" to your WIndows Terminal configuration to make it so you never see that message again:

{
    "profiles": {
        "defaults": {
            "closeOnExit": "always"
        },
        "list": [
            // all your profiles go here
        ]
    }
}
Rating: (You must be logged in to vote)