mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Merge pull request #6224 from AlexTedeschi/patch-1
Increase wait time of temporary file deletion on Windows
This commit is contained in:
commit
ebb5ed9d92
|
@ -141,7 +141,7 @@ class WindowsViewer(Viewer):
|
||||||
def get_command(self, file, **options):
|
def get_command(self, file, **options):
|
||||||
return (
|
return (
|
||||||
f'start "Pillow" /WAIT "{file}" '
|
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}"'
|
f'&& del /f "{file}"'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user