Exit exception #12181

Closed
opened 2026-01-31 03:08:16 +00:00 by claunia · 3 comments
Owner

Originally created by @luweijun1992 on GitHub (Jan 25, 2021).

Exit exception
Win 10 [版本 10.0.19042.746]
Windows Terminal : 1.5.3242.0
image

Originally created by @luweijun1992 on GitHub (Jan 25, 2021). Exit exception Win 10 [版本 10.0.19042.746] Windows Terminal : 1.5.3242.0 ![image](https://user-images.githubusercontent.com/58923704/105659486-cafc3900-5f03-11eb-8a07-ea50d153dbb0.png)
Author
Owner

@skyline75489 commented on GitHub (Jan 25, 2021):

When the return code of the process is 1 instead of 0, this is expected.

You can find out more in the documentation about closeOnExit.

@skyline75489 commented on GitHub (Jan 25, 2021): When the return code of the process is `1` instead of `0`, this is expected. You can find out more in the documentation about [closeOnExit](https://docs.microsoft.com/en-us/windows/terminal/customize-settings/profile-settings#how-the-profile-closes-when-exiting).
Author
Owner

@skyline75489 commented on GitHub (Jan 25, 2021):

See also #4223, #5003.

@skyline75489 commented on GitHub (Jan 25, 2021): See also #4223, #5003.
Author
Owner

@zadjii-msft commented on GitHub (Jan 25, 2021):

Yep, this is totally by-design. Thanks!

@zadjii-msft commented on GitHub (Jan 25, 2021): Yep, this is totally by-design. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12181