conduit icon indicating copy to clipboard operation
conduit copied to clipboard

Does `withCheckedProcessCleanup` create zombies?

Open merijn opened this issue 5 years ago • 0 comments

So, I admit I haven't looked at the code of process and the GHC runtime enough to be sure, but as far as I can tell withCheckedProcessCleanup calls terminateProcess to kill the child process when an exception happens, however it never waits upon the terminated process. Wouldn't this leave a zombie process hanging around until the parent program exits and init inherits the child to reap it?

merijn avatar Oct 06 '19 14:10 merijn