-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking Issue for ExitCode::exit_process() #97100
Copy link
Copy link
Open
Labels
A-processArea: `std::process` and `std::env`Area: `std::process` and `std::env`C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-processArea: `std::process` and `std::env`Area: `std::process` and `std::env`C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(exitcode_exit_method)]This is a tracking issue for the
ExitCode::exit_process()method.exit_code.exit_process()exits the process with theExitCodepassed as the self argument.Public API
Steps / History
Unresolved Questions
process::exit. As a postfix verb it's sorta clunky, or maybe doesn't communicate explicitly with what the process is being exited? I think exit_process strikes a good balance but I discussed it more in the impl PR ExitCode::exit_process() method #95356.