mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Fix to the fix for bug 2418. The commands python module is a *nix only
thing and it worked on Win32 only by chance. * lib/configure.py: Correctly collect stderr also on Win32. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17095 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b61c79f1d9
commit
de42495b90
@ -8,7 +8,7 @@
|
||||
# \author Bo Peng
|
||||
# Full author contact details are available in file CREDITS.
|
||||
|
||||
import sys, os, re, shutil, glob, commands
|
||||
import sys, os, re, shutil, glob
|
||||
|
||||
|
||||
class Tee:
|
||||
@ -410,7 +410,7 @@ def checkConverterEntries():
|
||||
if convert != '':
|
||||
# check whether convert supports the -define option
|
||||
conv_opts = "-define pdf:use-cropbox=true -depth 8"
|
||||
if not 'Unrecognized' in commands.getoutput('convert ' + conv_opts):
|
||||
if not 'Unrecognized' in cmdOutput('convert ' + conv_opts + ' 2>&1'):
|
||||
addToRC(r'\converter pdf png "convert %s pdf:$$i png:$$o" ""' % conv_opts)
|
||||
#
|
||||
checkProg('a Grace -> Image converter', ['gracebat'],
|
||||
|
Loading…
Reference in New Issue
Block a user