mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-11 17:56:18 +03:00
Do not play sound when running screencapture command
This commit is contained in:
parent
3d76a686c4
commit
40c6e4f136
|
@ -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