Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reap processes before checking for them
Unlike on MacOS, Linux will return a defunct process for getpgid. Reaping the processes before checking if one exists resolves this.
- Loading branch information