-
Notifications
You must be signed in to change notification settings - Fork 20
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
MacOS Monterey deprecated vfork system call #34
Comments
Here’s a PR for this issue: #39. |
Having looked into posix_spawn, I think it doesn't quite let us implement our API, because it doesn't provide any mechanism for returning an error from the execve(2) call, nor for distinguishing other post-fork errors. |
Another reason we don't use |
Standard posix_spawn doesn’t let you chdir, but macOS posix_spawn does.
…
On Jul 26, 2022, at 11:04, Arseniy Alekseyev ***@***.***> wrote:
Another reason we don't use posix_spawn is that it doesn't let you change the current working directory, as far as I know.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When compiling this package on Monterey 12.4:
then running the tests fails with an unrelated error,
/usr/bin/sleep
doesn't exist on Monterey.This package should update to use fork(2) or, ideally, posix_spawn(3) as suggested in
man vfork 2
.The text was updated successfully, but these errors were encountered: