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

Reproc leaves child process as a zombie if it daemonizes #106

Open
stingray-11 opened this issue Jun 28, 2023 · 0 comments
Open

Reproc leaves child process as a zombie if it daemonizes #106

stingray-11 opened this issue Jun 28, 2023 · 0 comments

Comments

@stingray-11
Copy link
Contributor

stingray-11 commented Jun 28, 2023

I'm using reproc to start a process that daemonizes (it forks, the original process exits and the new child detaches). This results in the child process started by reproc remaining as a zombie. Reproc then waits for the new daemon process to end rather than returning right away when the original child exits. If I do the same thing but via a manual system() or execvp(), they return immediately when the child forks, which is the behavior I expect.

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