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

fixes a hanging swaygrab #1351

Merged
merged 1 commit into from
Sep 12, 2017
Merged

fixes a hanging swaygrab #1351

merged 1 commit into from
Sep 12, 2017

Conversation

Ongy
Copy link

@Ongy Ongy commented Sep 11, 2017

#1350 is fixed with this.
The commit that change swaygrab to use fork instead of Popen tried to
write to the read end of the pipe in the child branch and exec in the
parent branch.
It also didn't add "convert" for arg[0] of the child, which caused it to skip the first argument.
This commit fixes those and closes the write fd after writing,
so convert actually exits.

swaywm#1350 is fixed with this.
The commit that change swaygrab to use fork instead of Popen tried to
write to the read end of the pipe in the child branch and exec in the
parent branch.
This commit fixes both of those and closes the write fd after writing,
so convert actually exits.
@ddevault ddevault merged commit ec9a977 into swaywm:master Sep 12, 2017
@ddevault
Copy link
Contributor

Thanks!

@ddevault ddevault mentioned this pull request Oct 7, 2017
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants