diff --git a/src/PIL/ImageShow.py b/src/PIL/ImageShow.py index 964ef57ea..f79206921 100644 --- a/src/PIL/ImageShow.py +++ b/src/PIL/ImageShow.py @@ -201,7 +201,7 @@ class UnixViewer(Viewer): def get_command(self, file, **options): command = self.get_command_ex(file, **options)[0] - return f"({command} {quote(file)}; rm -f {quote(file)})&" + return f"({command} {quote(file)}" class XDGViewer(UnixViewer):