From: Keiron Liddle Date: Mon, 18 Jun 2001 08:48:08 +0000 (+0000) Subject: exits after finish - prevents the AWT usage from keeping the java X-Git-Tag: PRE_CODEFORMATTING~86 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b865327ede5e6a1880156a534161f989c08a9c9e;p=xmlgraphics-fop.git exits after finish - prevents the AWT usage from keeping the java alive git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194293 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/apps/CommandLineStarter.java b/src/org/apache/fop/apps/CommandLineStarter.java index 72f4804cf..7565df347 100644 --- a/src/org/apache/fop/apps/CommandLineStarter.java +++ b/src/org/apache/fop/apps/CommandLineStarter.java @@ -60,6 +60,7 @@ public class CommandLineStarter extends Starter { driver.format(); driver.setOutputStream(new FileOutputStream(commandLineOptions.getOutputFile())); driver.render(); + System.exit(0); } catch (Exception e) { if (e instanceof FOPException) { throw (FOPException) e;