mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 09:26:16 +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):
|
||||
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}"'
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user