about summary refs log tree commit diff
path: root/library/std/src/sys_common/process.rs
AgeCommit message (Collapse)AuthorLines
2022-12-27More verbose `Debug` implementation of `std::process:Command`kraktus-1/+10
based on commit: https://github.com/zackmdavis/rust/commit/ccc019aabfdd550944c049625e66c92c815ea1d0 from https://github.com/zackmdavis close https://github.com/rust-lang/rust/issues/42200 Add env variables and cwd to the shell-like debug output. Also use the alternate syntax to display a more verbose display, while not showing internal fields and hiding fields when they have their default value.
2022-12-11Implement blocking outputAyush Singh-1/+30
This allows decoupling `Command::spawn` and `Command::output`. This is useful for targets which do support launching programs in blocking mode but do not support multitasking (Eg: UEFI). This was originally conceived when working on https://github.com/rust-lang/rust/pull/100316 Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
2021-12-29Remove CommandEnv::applyKonrad Borowski-16/+0
It's not being used and uses unsound set_var and remove_var functions.
2021-10-30Add #[must_use] to remaining std functions (O-Z)John Kugelman-0/+1
2021-10-05Apply suggestions from code reviewJane Lusby-3/+3
2021-08-28std: Stabilize command_accessJade-3/+3
Tracking issue: #44434
2021-08-08Fix Windows Command::env("PATH")Chris Denton-4/+6
2020-09-26Add accessors to Command.Eric Huss-0/+37
2020-07-27mv std libs to library/mark-0/+95