8294 Recognise Ghostscript on 64bit ms-windows
This commit is contained in:
parent
8d08b62c8d
commit
4960f859ed
@ -312,7 +312,10 @@ def show_settings():
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
if win():
|
if win():
|
||||||
gsversion_str = Popen(['gswin32c', '--version'], stdout=PIPE).communicate(input=None)[0]
|
try:
|
||||||
|
gsversion_str = Popen(['gswin32c', '--version'], stdout=PIPE).communicate(input=None)[0]
|
||||||
|
except:
|
||||||
|
gsversion_str = Popen(['gswin64c', '--version'], stdout=PIPE).communicate(input=None)[0]
|
||||||
else:
|
else:
|
||||||
gsversion_str = Popen(['gs', '--version'], stdout=PIPE).communicate(input=None)[0]
|
gsversion_str = Popen(['gs', '--version'], stdout=PIPE).communicate(input=None)[0]
|
||||||
if isinstance(gsversion_str, bytes) and sys.stdin.encoding:
|
if isinstance(gsversion_str, bytes) and sys.stdin.encoding:
|
||||||
|
Loading…
Reference in New Issue
Block a user