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

Exec::cmd creates zombie processes that are never cleaned up #70

Open
scd31 opened this issue Jul 9, 2023 · 1 comment
Open

Exec::cmd creates zombie processes that are never cleaned up #70

scd31 opened this issue Jul 9, 2023 · 1 comment

Comments

@scd31
Copy link

scd31 commented Jul 9, 2023

I found that every time I call Exec::cmd it creates zombie/defunct process that lasts for the lifetime of the program. This can cause problems when spawning many processes.

The workaround was to use Popen instead. It doesn't have the same issue - no defunct processes are created.

@hniksic
Copy link
Owner

hniksic commented Jul 9, 2023

Can you please provide a minimal example of a program that leaves a zombie process?

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

2 participants