| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-05-01 | doc: Warn about possible zombie apocalypse | Michal 'vorner' Vaner | -0/+12 | |
| Extend the std::process::Child docs with warning about possible zombies. The previous version mentioned that when dropping the Child, the process is not killed. However, the wording gave the impression that such behaviour is fine to do (leaving the reader believe low-level details like reaping zombies of the dead processes is taken over by std somehow; or simply leaving the reader unaware about the problem). | ||||
| 2019-04-27 | Stabilized vectored IO | Steven Fackler | -4/+4 | |
| This renames `std::io::IoVec` to `std::io::IoSlice` and `std::io::IoVecMut` to `std::io::IoSliceMut`, and stabilizes `std::io::IoSlice`, `std::io::IoSliceMut`, `std::io::Read::read_vectored`, and `std::io::Write::write_vectored`. Closes #58452 | ||||
| 2019-04-10 | std: Add `{read,write}_vectored` for more types | Alex Crichton | -1/+15 | |
| This commit implements the `{read,write}_vectored` methods on more types in the standard library, namely: * `std::fs::File` * `std::process::ChildStd{in,out,err}` * `std::io::Std{in,out,err}` * `std::io::Std{in,out,err}Lock` * `std::io::Std{in,out,err}Raw` Where supported the OS implementations hook up to native support, otherwise it falls back to the already-defaulted implementation. | ||||
| 2019-03-31 | libstd: deny(elided_lifetimes_in_paths) | Mazdak Farrokhzad | -8/+8 | |
| 2019-03-25 | SGX target: fix std unit tests | Jethro Beekman | -1/+1 | |
| 2019-03-14 | Don't run test launching `echo` since that doesn't exist on Windows | John Kåre Alsaker | -1/+1 | |
| 2019-02-28 | libstd => 2018 | Taiki Endo | -27/+26 | |
| 2019-02-25 | Disable running several Stdio doctests | Ivan Petkov | -2/+2 | |
| * A number of `Stdio` related doc examples include running the "rev" command to illustrate piping commands. The majority of these tests are marked as `no_run` except for two tests which were not * Not running these tests is unlikely to cause any negative impact, and doing so also allows the test suite to pass in environments where the "rev" command is unavailable | ||||
| 2019-02-10 | libs: doc comments | Alexander Regueiro | -7/+7 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2018-11-21 | Move a flaky process test out of libstd | Alex Crichton | -36/+0 | |
| This test ensures that everything in `env::vars()` is inherited but that's not actually true because other tests may add env vars after we spawn the process, causing the test to be flaky! This commit moves the test to a run-pass test where it can execute in isolation. Along the way this removes a lot of the platform specificity of the test, using iteslf to print the environment instead of a foreign process. | ||||
| 2018-11-15 | Rollup merge of #55901 - euclio:speling, r=petrochenkov | Pietro Albini | -2/+2 | |
| fix various typos in doc comments | ||||
| 2018-11-13 | fix various typos in doc comments | Andy Russell | -2/+2 | |
| 2018-11-13 | Rollup merge of #55754 - spastorino:fix-process-output-docs, r=alexcrichton | kennytm | -3/+6 | |
| Avoid converting bytes to UTF-8 strings to print, just pass bytes to stdout/err r? @nikomatsakis | ||||
| 2018-11-10 | Avoid converting bytes to UTF-8 strings to print, just pass bytes to stdout/err | Santiago Pastorino | -3/+6 | |
| 2018-10-24 | Documents `From` implementations for `Stdio` | OCTronics | -0/+88 | |
| Add a basic summary and an example to From `ChildStdin`, `ChildStdout`, `ChildStderr`, `File` implementations. | ||||
| 2018-08-20 | document the platform-specific behavior of Command::current_dir | Jack O'Connor | -0/+10 | |
| 2018-08-11 | Fix indent | Havvy (Ryan Scheel) | -1/+1 | |
| 2018-08-11 | Show that Command can be reused and remodified | Ryan Scheel | -0/+33 | |
| The prior documentation did not make it clear this was possible. | ||||
| 2018-07-10 | Deny bare trait objects in `src/libstd`. | ljedrz | -2/+2 | |
| 2018-04-24 | Rollup merge of #49461 - andreastt:child-kill-exited, r=Mark-Simulacrum | kennytm | -2/+11 | |
| std: Child::kill() returns error if process has already exited This patch makes it clear in std::process::Child::kill()'s API documentation that an error is returned if the child process has already cleanly exited. This is implied by the example, but not called out explicitly. | ||||
| 2018-04-17 | fixup! std: Child::kill() returns error if process has already exited | Andreas Tolfsen | -1/+1 | |
| 2018-04-08 | fixup! std: Child::kill() returns error if process has already exited | Andreas Tolfsen | -1/+1 | |
| 2018-04-05 | std: Inline some Termination-related methods | Alex Crichton | -0/+2 | |
| These were showing up in tests and in binaries but are trivially optimize-able away, so add `#[inline]` attributes so LLVM has an opportunity to optimize them out. | ||||
| 2018-04-02 | Fix "since" version for getpid feature. | Thayne McCombs | -1/+1 | |
| It was stabilized right before the beta branch was cut for 1.26.0. See https://github.com/rust-lang/rust/pull/49523#issuecomment-377996315 | ||||
| 2018-04-01 | Stabilize `std::process::id()` | Thayne McCombs | -2/+1 | |
| Fixes #44971 | ||||
| 2018-03-29 | fixup! std: Child::kill() returns error if process has already exited | Andreas Tolfsen | -1/+6 | |
| 2018-03-28 | fixup! std: Child::kill() returns error if process has already exited | Andreas Tolfsen | -1/+4 | |
| 2018-03-28 | std: Child::kill() returns error if process has already exited | Andreas Tolfsen | -2/+3 | |
| This patch makes it clear in std::process::Child::kill()'s API documentation that an error is returned if the child process has already cleanly exited. This is implied by the example, but not called out explicitly. | ||||
| 2018-03-25 | Minor formatting consistency fix. | Alexander Ronald Altman | -1/+1 | |
| 2018-03-21 | termination_trait: Make error message more helpful | Tyler Mandry | -2/+3 | |
| 2018-03-21 | termination_trait: Put examples in error help, not label | Tyler Mandry | -1/+1 | |
| 2018-03-21 | termination_trait: Add () example to error message | Tyler Mandry | -1/+1 | |
| 2018-03-03 | Move process::ExitCode internals to sys | Scott McMurray | -21/+8 | |
| Now begins the saga of fixing compilation errors on other platforms... | ||||
| 2018-02-28 | Fix linkchecker | Scott McMurray | -2/+2 | |
| 2018-02-27 | Put some thought and documentation effort into process::ExitCode | Scott McMurray | -24/+52 | |
| 2018-02-24 | Restrict the Termination impls to simplify stabilization | Scott McMurray | -6/+18 | |
| Make a minimal commitment for stabilization. More impls are likely in future, but are not necessary at this time. | ||||
| 2018-02-22 | move Termination trait to std::process | Niko Matsakis | -0/+67 | |
| 2018-01-26 | add test checking that process::Command is Send | Corentin Henry | -0/+6 | |
| 2018-01-11 | Make tests build on CloudABI. | Ed Schouten | -1/+1 | |
| There are some tests that need to be disabled on CloudABI specifically, due to the fact that the shims cannot be built in combination with unix::ext or windows::ext. Also improve the scoping of some imports to suppress compiler warnings. | ||||
| 2018-01-04 | Fix an error in std::process documentation | Loïc Damien | -2/+2 | |
| 2017-12-26 | Rollup merge of #46943 - malbarbo:process-test-busybox, r=alexcrichton | kennytm | -1/+1 | |
| Fix process test when using busybox mkdir busybox mkdir . returns 0 busybox mkdir ./ returns 1 | ||||
| 2017-12-24 | Capture environment at spawn | Diggory Blake | -4/+25 | |
| 2017-12-22 | Fix process test when using busybox mkdir | Marco A L Barbosa | -1/+1 | |
| busybox mkdir . returns 0 busybox mkdir ./ returns 1 | ||||
| 2017-11-22 | Clarify stdin behavior of `Command::output`. | Corey Farwell | -2/+4 | |
| Fixes #44929. | ||||
| 2017-10-29 | Auto merge of #45295 - Technius:docs/process, r=steveklabnik | bors | -11/+72 | |
| Improve std::process module docs Addresses part of #29370 I've changed the first `cat` example to a "Hello World" example involving echo, and I've also added another example showing how to pipe output. I'm still working on the module-level description. For now, I'd like feedback on the examples. r? @steveklabnik | ||||
| 2017-10-28 | Add no_run to process examples involving unix commands | Bryan Tan | -2/+2 | |
| 2017-10-26 | Rollup merge of #45059 - tmccombs:pid, r=alexcrichton | kennytm | -0/+19 | |
| Add current_pid function Fixes #44971 | ||||
| 2017-10-20 | Fix most rendering warnings from switching to CommonMark | steveklabnik | -1/+1 | |
