[xep-support] ERRORLEVEL for XSLDriver

From: Alexander Dyuzhev <dyuzhev@gmail.com>
Date: Sat Nov 20 2010 - 08:01:18 PST

Do XSLDriver.exe from XEPWin supports ERRORLEVEL exit codes ?

First sample returns exit code 0. It's OK.
============================
@echo off
XslDriver.exe -quiet -xml xep\examples\basic\color.fo -pdf test.pdf
echo %ERRORLEVEL%
============================

Result:
Formatting completed successfully.
0

But second sample return exit code 0 also. Please note, that xml file
xep\examples\basic\color.fo2 does not exists:
============================
@echo off
XslDriver.exe -quiet -xml xep\examples\basic\color.fo2 -pdf test.pdf
echo %ERRORLEVEL%
============================

Error occurred while formatting
Error:
   Could not find file 'C:\Program
Files\RenderX\XEPWin\xep\examples\basic\color.fo2'.
0
What do I do wrong ?

I call XSLDriver from .NET code with use Process.Start() method. How can I
determine exit codes for XSLDriver ?

Best regards,
Alexander Dyuzhev

!DSPAM:87,4ce7f0d063731218761849!

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Sat Nov 20 08:01:27 2010

This archive was generated by hypermail 2.1.8 : Sat Nov 20 2010 - 08:01:33 PST