]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
exits after finish - prevents the AWT usage from keeping the java
authorKeiron Liddle <keiron@apache.org>
Mon, 18 Jun 2001 08:48:08 +0000 (08:48 +0000)
committerKeiron Liddle <keiron@apache.org>
Mon, 18 Jun 2001 08:48:08 +0000 (08:48 +0000)
alive

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194293 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/apps/CommandLineStarter.java

index 72f4804cf9f5d0ce557ad3a0d88a17c90dcb8f41..7565df3474f254c76069d20ac6672f4dda141f7c 100644 (file)
@@ -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;