Hide the Ghostscript progress dialog on Windows

This commit is contained in:
Hugo 2018-09-21 11:00:28 +03:00
parent da4440c1cb
commit 4dc37df152

View File

@ -135,6 +135,8 @@ def Ghostscript(tile, size, fp, scale=1):
if not gs_windows_binary: if not gs_windows_binary:
raise WindowsError('Unable to locate Ghostscript on paths') raise WindowsError('Unable to locate Ghostscript on paths')
command[0] = gs_windows_binary command[0] = gs_windows_binary
# Hide the progress dialog
command.append("-dNoCancel")
# push data through ghostscript # push data through ghostscript
try: try: