-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve
Process::Status#to_s
for abnormal exits on Windows (#15283)
Abnormal exit statuses on Windows are indicated by specific status values which correlate to `LibC` constants. This patch changes `Status#to_s` (and `#inspect`) to return the name of the constant if available. This improves usability because it's easier to interpret the status.
- Loading branch information
1 parent
7629863
commit 7326cef
Showing
2 changed files
with
41 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters