Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Raise error if ImageGrab subprocess gives non-zero returncode#9321

Open
radarhere wants to merge 2 commits intopython-pillow:mainfrom
radarhere:subprocess
Open

Raise error if ImageGrab subprocess gives non-zero returncode#9321
radarhere wants to merge 2 commits intopython-pillow:mainfrom
radarhere:subprocess

Conversation

@radarhere
Copy link
Member

#9070 (comment) suggested checking the subprocess return code in ImageGrab. This PR adds it, following the example of

ifretcode:
raisesubprocess.CalledProcessError(retcode,quant_cmd)

I've also added additional testing, as per#9070 (comment), including opening a new window on macOS to test capturing it. To avoid interfering too much with user machines though, this will only happen on CIs.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@radarhere

[8]ページ先頭

©2009-2026 Movatter.jp