diff --git a/src/PIL/ImageShow.py b/src/PIL/ImageShow.py index 66f86211f..9117f57e5 100644 --- a/src/PIL/ImageShow.py +++ b/src/PIL/ImageShow.py @@ -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}"' )