summary refs log tree commit diff
path: root/library/std/src/sys/windows/process.rs
AgeCommit message (Collapse)AuthorLines
2021-05-12Provide ExitStatusErrorIan Jackson-2/+23
Closes #73125 This is in pursuance of Issue #73127 Consider adding #[must_use] to std::process::ExitStatus In MR #81452 Add #[must_use] to [...] process::ExitStatus we concluded that the existing arrangements in are too awkward so adding that #[must_use] is blocked on improving the ergonomics. I wrote a mini-RFC-style discusion of the approach in https://github.com/rust-lang/rust/issues/73125#issuecomment-771092741 Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2021-04-28Remove `DropGuard` in `sys::windows::process` and use `StaticMutex` insteadChristiaan Dirkx-24/+4
2021-03-21Use io::Error::new_const everywhere to avoid allocations.Mara Bos-1/+1
2021-02-17Expose force_quotes on Windows.Yonggang Luo-3/+9
Quotes the arg and not quotes the arg have different effect on Windows when the program called are msys2/cygwin program. Refer to https://github.com/msys2/MSYS2-packages/issues/2176 Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
2020-09-26Add accessors to Command.Eric Huss-1/+47
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-38/+3
Also doing fmt inplace as requested.
2020-07-27mv std libs to library/mark-0/+566