git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3065 don’t quote class path args for Runtime.exec java launch command (needs...
[jalview.git]
/
test
/
jalview
/
bin
/
CommandLineOperations.java
diff --git
a/test/jalview/bin/CommandLineOperations.java
b/test/jalview/bin/CommandLineOperations.java
index
9b94be9
..
d586dae
100644
(file)
--- a/
test/jalview/bin/CommandLineOperations.java
+++ b/
test/jalview/bin/CommandLineOperations.java
@@
-121,10
+121,12
@@
public class CommandLineOperations
{
cp_sep = ";";
}
{
cp_sep = ";";
}
+ // Note: JAL-3065 - don't include quotes for lib/* because the arguments are
+ // not expanded by the shell
String _cmd = "java "
+ (withAwt ? "-Djava.awt.headless=true" : "")
String _cmd = "java "
+ (withAwt ? "-Djava.awt.headless=true" : "")
- + " -classpath \"./lib/*" + cp_sep
- + "./classes\" jalview.bin.Jalview ";
+ + " -classpath ./classes" + cp_sep
+ + "./lib/* jalview.bin.Jalview ";
System.out.println("CMD [" + cmd + "]");
Process ls2_proc = null;
Worker worker = null;
System.out.println("CMD [" + cmd + "]");
Process ls2_proc = null;
Worker worker = null;