Skip to content

Interest in adding an safe API for spawn and spawn_p? #1740

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

Closed
VincentWo opened this issue Jun 8, 2022 · 1 comment · Fixed by #2475
Closed

Interest in adding an safe API for spawn and spawn_p? #1740

VincentWo opened this issue Jun 8, 2022 · 1 comment · Fixed by #2475

Comments

@VincentWo
Copy link

I am working at a project requiring me to call ’spawn’ and I noticed that there isn't a safe API for it.

I am going to develop a safe API for my private usage anyway and was wondering whether there would be an Interest for it to be contributed here :)

@asomers
Copy link
Member

asomers commented Jun 24, 2022

Do you mean posix_spawn? Yes, that would make sense. We already wrap fork, after all.

CameronNemo pushed a commit to CameronNemo/nix that referenced this issue Aug 25, 2024
github-merge-queue bot pushed a commit that referenced this issue Aug 25, 2024
* Add wrappers for posix_spawn related functions

Closes #1740

* Use Errno::result helper

* chore: add changelog entry for PR

* Add tests for posix_spawn function

---------

Co-authored-by: kosayoda <[email protected]>
Co-authored-by: Cameron Nemo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants