Skip to content

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

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:imagegrab
Jun 6, 2023
Merged

Do not use temporary file when grabbing clipboard on Linux#7200
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:imagegrab

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.

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.

2 participants