rust/src/libstd/sys
Alex Crichton 6afa32a250 std: Don't always create stdin for children
For example if `Command::output` or `Command::status` is used then stdin is just
immediately closed. Add an option for this so as an optimization we can avoid
creating pipes entirely.

This should help reduce the number of active file descriptors when spawning
processes on Unix and the number of active handles on Windows.
2016-03-08 17:45:44 -08:00
..
common std: Funnel read_to_end through to one location 2016-03-08 17:45:44 -08:00
unix std: Don't always create stdin for children 2016-03-08 17:45:44 -08:00
windows std: Don't always create stdin for children 2016-03-08 17:45:44 -08:00