about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-10-31 11:09:43 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-02-10 09:28:48 -0800
commit6c4198469025bf037f59d617c5b75229546ce68a (patch)
tree851ce22cb1aab5adf8259a5414fb737aa62a5286 /src/libstd/sys/unix/stack_overflow.rs
parent096dbf84c7acc78283adfa46eecd41d7355f6f3e (diff)
downloadrust-6c4198469025bf037f59d617c5b75229546ce68a.tar.gz
rust-6c4198469025bf037f59d617c5b75229546ce68a.zip
std: Refactor process spawning on Unix
* Build up the argp/envp pointers while the `Command` is being constructed
  rather than only when `spawn` is called. This will allow better sharing of
  code between fork/exec paths.
* Rename `child_after_fork` to `exec` and have it only perform the exec half of
  the spawning. This also means the return type has changed to `io::Error`
  rather than `!` to represent errors that happen.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions