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

Wait for the copy command to exit. #346

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Conversation

Fuyukai
Copy link
Contributor

@Fuyukai Fuyukai commented Jan 24, 2024

There's a bit of jank in the error handling to make sure it waits for the child to exit on all possible paths, and it suppresses the stdin error if .wait() fails, but I couldn't think of a nicer way. Very open to fixing this.

Closes #345.

@aome510 aome510 merged commit 105f26a into aome510:master Jan 24, 2024
4 checks passed
@Fuyukai Fuyukai deleted the fix-zombies branch January 25, 2024 02:45
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

Successfully merging this pull request may close these issues.

Copying links leaves zombie processes
2 participants