about summary refs log tree commit diff
path: root/src/test/codegen/gdb_debug_script_load.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-02-12 10:28:03 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-03-08 17:45:44 -0800
commit6afa32a2504fa90b48f74979bb4061cb397e9270 (patch)
treeb325bcb62312baba1cf50bc5806f9f9ab505c76b /src/test/codegen/gdb_debug_script_load.rs
parentd46c99abe8671479c48b003bf06e98eda7eb85ab (diff)
downloadrust-6afa32a2504fa90b48f74979bb4061cb397e9270.tar.gz
rust-6afa32a2504fa90b48f74979bb4061cb397e9270.zip
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.
Diffstat (limited to 'src/test/codegen/gdb_debug_script_load.rs')
0 files changed, 0 insertions, 0 deletions