Incorporate warning for potential exit code ambiguities
This commit is contained in:
parent
5d32f313fb
commit
eb783d9632
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue