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

Do not use temporary file when grabbing clipboard on Linux #7200

Merged
merged 1 commit into from Jun 6, 2023

Conversation

radarhere
Copy link
Member

#7147 (comment)

Looking at the code again, I'm not sure why a temporary file is even necessary in the first place.

This PR reads the output from the subprocess command directly when grabbing the clipboard on Linux, rather than using a temporary file as an intermediate step.

@radarhere radarhere added the Linux label Jun 5, 2023
@hugovk hugovk merged commit 07be6aa into python-pillow:main Jun 6, 2023
58 checks passed
@radarhere radarhere deleted the imagegrab branch June 6, 2023 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants