git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e7a3bf
)
cli length limit
author
jprocter
<Jim Procter>
Fri, 2 Apr 2010 10:34:08 +0000
(10:34 +0000)
committer
jprocter
<Jim Procter>
Fri, 2 Apr 2010 10:34:08 +0000
(10:34 +0000)
src/jalview/util/Platform.java
patch
|
blob
|
history
diff --git
a/src/jalview/util/Platform.java
b/src/jalview/util/Platform.java
index
2eec73c
..
283628e
100644
(file)
--- a/
src/jalview/util/Platform.java
+++ b/
src/jalview/util/Platform.java
@@
-41,4
+41,13
@@
public class Platform
\r
return hdls!=null && hdls.equals("true");
\r
}
\r
+ /**
\r
+ *
\r
+ * @return nominal maximum command line length for this platform
\r
+ */
\r
+ public static int getMaxCommandLineLength()
\r
+ {
\r
+ // TODO: determine nominal limits for most platforms.
\r
+ return 2046; // this is the max length for a windows NT system.
\r
+ }
\r
}
\r