Merge pull request #3454 from radarhere/imagegrab

Do not play sound when running screencapture command
This commit is contained in:
Hugo 2018-11-10 12:48:01 +00:00 committed by GitHub
commit 8feed91ec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)