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

Move SIGCHLD handler #391

Merged
merged 2 commits into from
Mar 9, 2024
Merged

Move SIGCHLD handler #391

merged 2 commits into from
Mar 9, 2024

Conversation

ndren
Copy link
Contributor

@ndren ndren commented Mar 9, 2024

SIG_DFL on SIGCHLD prevents proper functioning of pclose, which the new version of the pasting functionality requires.

Closes #385

Ref: https://stackoverflow.com/questions/54189212/popen-returns-1-unexpectedly

SIG_DFL on SIGCHLD prevents proper functioning of pclose, which the new version of the pasting functionality requires.

Closes Cloudef#385

Ref: https://stackoverflow.com/questions/54189212/popen-returns-1-unexpectedly
@ndren
Copy link
Contributor Author

ndren commented Mar 9, 2024

Force pushed to clean up the commit history.

Please let me know if this is the right approach, thanks!

@Cloudef
Copy link
Owner

Cloudef commented Mar 9, 2024

Perhaps this code should be moved to the launch function instead of removed

@ndren
Copy link
Contributor Author

ndren commented Mar 9, 2024

I have moved it, thanks for the suggestion!

@ndren ndren changed the title Remove SIGCHLD handler Move SIGCHLD handler Mar 9, 2024
@Cloudef Cloudef merged commit c0c608c into Cloudef:master Mar 9, 2024
4 checks passed
@Cloudef
Copy link
Owner

Cloudef commented Mar 9, 2024

Thanks

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.

Can't paste in bemenu-run
2 participants