mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-06 12:04:36 +00:00
Incorporate warning for potential exit code ambiguities
This commit is contained in:
parent
5d32f313fb
commit
eb783d9632
@ -203,6 +203,10 @@ impl ChildExt for process::Child {
|
||||
pub trait ExitCodeExt: Sealed {
|
||||
/// Creates a new `ExitCode` from the raw underlying `u32` return value of
|
||||
/// a process.
|
||||
///
|
||||
/// The exit code should not be 259, as this conflicts with the `STILL_ACTIVE`
|
||||
/// macro returned from the `GetExitCodeProcess` function to signal that the
|
||||
/// process has yet to run to completion.
|
||||
#[stable(feature = "windows_process_exit_code_from", since = "1.63.0")]
|
||||
fn from_raw(raw: u32) -> Self;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user