-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation about Child process detach #31289
Comments
Part of #29370 |
@steveklabnik: I'd be happy to take this on. 😄 |
Please do! :) On Jan 30, 2016, 11:59 -0500, Dirk Gadsdennotifications@github.com, wrote:
|
dirk
added a commit
to dirk/rust
that referenced
this issue
Jan 31, 2016
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 rust-lang#31289.
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Feb 1, 2016
…, r=alexcrichton `Drop` is not 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 rust-lang#31289. r? @steveklabnik
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Feb 2, 2016
…, r=alexcrichton `Drop` is not 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 rust-lang#31289. r? @steveklabnik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice, if the docs of
process::Child
would mention that the process is detached (and not joined) by default, when aChild
object goes out of scope. Not having aDrop
impl is too subtile IMO.The text was updated successfully, but these errors were encountered: