Skip to content

Fix waitpid's behavior on negative pid values.#18

Merged
sunfishcode merged 1 commit intomainfrom
sunfishcode/waitpgid
Sep 22, 2023
Merged

Fix waitpid's behavior on negative pid values.#18
sunfishcode merged 1 commit intomainfrom
sunfishcode/waitpgid

Conversation

@sunfishcode
Copy link
Copy Markdown
Owner

Negative pid values mean to wait for process groups, however this isn't currently working in rustix. As a temporary workaround, have waitpid call wait in this situation.

When bytecodealliance/rustix#846 is released, we can use waitpgid, but until then, this workaround gets more things working.

Negative pid values mean to wait for process groups, however this
isn't currently working in rustix. As a temporary workaround, have
`waitpid` call `wait` in this situation.

When bytecodealliance/rustix#846 is released, we can use `waitpgid`,
but until then, this workaround gets more things working.
@sunfishcode sunfishcode merged commit 3546ae9 into main Sep 22, 2023
@sunfishcode sunfishcode deleted the sunfishcode/waitpgid branch September 22, 2023 15:22
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

Successfully merging this pull request may close these issues.

1 participant