Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add folly::Subprocess::ProcessReturnCode::succeeded()
Summary: This diff adds folly::Subprocess::ProcessReturnCode::succeeded(), a convenience method for determining whether a subprocess exited normally with a zero exit status. This is equivalent to Rust's std::process::ExitStatus::success(), but using a slightly different name to align with existing methods (e.g. exited(), killed(), coreDumped(), etc.). Reviewed By: jdonald, ot, luciang Differential Revision: D48333616 fbshipit-source-id: 71232bbdb6824f876d456c35d71ed898d4397c85
- Loading branch information