Using pstoedit 3.45 on Windows XP, I find that that the copyright message goes to stdout, and not to stderr. For example,
pstoedit -f plot-svg -ssp in.eps out.svg 2> NUL
prints the message, while
pstoedit -f plot-svg -ssp in.eps out.svg > NUL
doesn't.
In any case, because of what Wolfgang Glunz says about some PostScript files writing to stdout, we should write to a temporary file, like we do for UniConvertor.
By the way, I've realised that I shouldn't have used the subprocess module in uniconv-ext.py, as it isn't included in Python 2.3 (which we still need to support, if only for OS X). So I'll redo uniconv-ext.py to use os.popen3() instead, and we can handle pstoedit in the same way.
Using pstoedit 3.45 on Windows XP, I find that that the copyright message goes to stdout, and not to stderr. For example,
pstoedit -f plot-svg -ssp in.eps out.svg 2> NUL
prints the message, while
pstoedit -f plot-svg -ssp in.eps out.svg > NUL
doesn't.
In any case, because of what Wolfgang Glunz says about some PostScript files writing to stdout, we should write to a temporary file, like we do for UniConvertor.
By the way, I've realised that I shouldn't have used the subprocess module in uniconv-ext.py, as it isn't included in Python 2.3 (which we still need to support, if only for OS X). So I'll redo uniconv-ext.py to use os.popen3() instead, and we can handle pstoedit in the same way.