diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-10-31 11:09:43 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-02-10 09:28:48 -0800 |
| commit | 6c4198469025bf037f59d617c5b75229546ce68a (patch) | |
| tree | 851ce22cb1aab5adf8259a5414fb737aa62a5286 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 096dbf84c7acc78283adfa46eecd41d7355f6f3e (diff) | |
| download | rust-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
