Do not manually remove temporary files on Unix in get_command()

This commit is contained in:
Andrew Murray 2022-02-14 09:33:58 +11:00
parent 3ba9587675
commit 993bb23ce0

View File

@ -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):