mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Merge pull request #3454 from radarhere/imagegrab
Do not play sound when running screencapture command
This commit is contained in:
commit
8feed91ec1
|
@ -14,7 +14,7 @@ try:
|
|||
|
||||
def test_grabclipboard(self):
|
||||
if sys.platform == "darwin":
|
||||
subprocess.call(['screencapture', '-c'])
|
||||
subprocess.call(['screencapture', '-cx'])
|
||||
else:
|
||||
p = subprocess.Popen(['powershell', '-command', '-'],
|
||||
stdin=subprocess.PIPE)
|
||||
|
|
Loading…
Reference in New Issue
Block a user