[PR #11123] Change exit code to hex; Fix format spec #28430

Open
opened 2026-01-31 09:28:28 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/11123

State: closed
Merged: Yes


Process exit code now shows as hex not decimal. Format specification needs length "10" not "8" because the leading '0x' generated by the # symbol counts as part of the length.

PR Checklist

  • Closes annoyance at looking up process exit codes
  • I work here.
  • Checked manually

Validation Steps Performed

  • Ran it, opened tab, opened another CMD tab, ran exit <code> and observed hex pattern
**Original Pull Request:** https://github.com/microsoft/terminal/pull/11123 **State:** closed **Merged:** Yes --- Process exit code now shows as hex not decimal. Format specification needs length "10" not "8" because the leading '0x' generated by the # symbol counts as part of the length. ## PR Checklist * [x] Closes annoyance at looking up process exit codes * [x] I work here. * [x] Checked manually ## Validation Steps Performed - [x] Ran it, opened tab, opened another CMD tab, ran `exit <code>` and observed hex pattern
claunia added the pull-request label 2026-01-31 09:28:28 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28430