From b865327ede5e6a1880156a534161f989c08a9c9e Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Mon, 18 Jun 2001 08:48:08 +0000 Subject: [PATCH] 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 --- src/org/apache/fop/apps/CommandLineStarter.java | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5