diff options
| author | Dirk Gadsden <dirk@esherido.com> | 2016-01-31 11:50:22 -0800 |
|---|---|---|
| committer | Dirk Gadsden <dirk@esherido.com> | 2016-01-31 11:50:22 -0800 |
| commit | cee1695e0839d0672113e7445cec0722559585ee (patch) | |
| tree | 9130daff1d27473155b0cab06c30c4037f0b3723 /src/rustllvm/RustWrapper.cpp | |
| parent | 9041b930585806b948b4cc68933047ffdc96f6f9 (diff) | |
| download | rust-cee1695e0839d0672113e7445cec0722559585ee.tar.gz rust-cee1695e0839d0672113e7445cec0722559585ee.zip | |
Safety docs about `std::process::Child` going out of scope
There is no `Drop` implemented for `Child`, so if it goes out of scope in Rust-land and gets deallocated, the child process will continue to exist and execute. If users want a guarantee that the process has finished running and exited they must manually use `kill`, `wait`, or `wait_with_output`. Fixes #31289.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
