diff --git a/src/PIL/ImageShow.py b/src/PIL/ImageShow.py index 4e505f2eea5..f60b1e11e18 100644 --- a/src/PIL/ImageShow.py +++ b/src/PIL/ImageShow.py @@ -199,7 +199,7 @@ def get_command_ex(self, file: str, **options: Any) -> tuple[str, str]: def get_command(self, file: str, **options: Any) -> str: command = self.get_command_ex(file, **options)[0] - return f"({command} {quote(file)}" + return f"{command} {quote(file)}" class XDGViewer(UnixViewer):