Skip to content
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

support for OpenBSD, NetBSD, and older versions of OSX #4

Open
oconnor663 opened this issue Feb 12, 2017 · 1 comment
Open

support for OpenBSD, NetBSD, and older versions of OSX #4

oconnor663 opened this issue Feb 12, 2017 · 1 comment

Comments

@oconnor663
Copy link
Owner

waitid can probably be exposed on the BSDs. Here's a naive attempt to do that: rust-lang/libc#520

For OSX, if the warnings are to be believed (https://bugs.python.org/msg167016), there are some versions with broken waitid implementations. If we ever run into those, we can add fake "best efford" implementations based on waitpid?

@oconnor663
Copy link
Owner Author

oconnor663 commented Apr 28, 2017

Once try_wait lands in stable, we can consider using the "non-blocking wait in a loop with sleeps" strategy. Doing that with libc::waitpid right now would leave the Child in an invalid state, though, which is a no-no for into_inner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant