Do not play sound when running screencapture command

This commit is contained in:
Andrew Murray 2018-11-08 06:05:45 +11:00
parent 3d76a686c4
commit 40c6e4f136

View File

@ -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)