From: jprocter Date: Fri, 2 Apr 2010 10:34:08 +0000 (+0000) Subject: cli length limit X-Git-Tag: Release_2_5~90 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f7dbf2b7b273107e95833e80820dfc053bdec859;p=jalview.git cli length limit --- diff --git a/src/jalview/util/Platform.java b/src/jalview/util/Platform.java index 2eec73c..283628e 100644 --- a/src/jalview/util/Platform.java +++ b/src/jalview/util/Platform.java @@ -41,4 +41,13 @@ public class Platform return hdls!=null && hdls.equals("true"); } + /** + * + * @return nominal maximum command line length for this platform + */ + public static int getMaxCommandLineLength() + { + // TODO: determine nominal limits for most platforms. + return 2046; // this is the max length for a windows NT system. + } }