Merge pull request #6224 from AlexTedeschi/patch-1

Increase wait time of temporary file deletion on Windows
This commit is contained in:
Andrew Murray 2022-04-21 22:07:59 +10:00 committed by GitHub
commit ebb5ed9d92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,7 +141,7 @@ class WindowsViewer(Viewer):
def get_command(self, file, **options):
return (
f'start "Pillow" /WAIT "{file}" '
"&& ping -n 2 127.0.0.1 >NUL "
"&& ping -n 4 127.0.0.1 >NUL "
f'&& del /f "{file}"'
)