INT-2533:GF/ForkUtil fix for -cp with whitespaces
This commit is contained in:
committed by
Gary Russell
parent
fd3fa99dc8
commit
428bd46165
@@ -42,7 +42,7 @@ public class ForkUtil {
|
||||
Process proc = null;
|
||||
String java = home + "/bin/java ".replace("\\", "/");
|
||||
;
|
||||
String argCp = "-cp " + cp;
|
||||
String argCp = "-cp \"" + cp + "\"";
|
||||
String argClass = argument;
|
||||
|
||||
String cmd = java + argCp + " " + argClass;
|
||||
@@ -151,4 +151,4 @@ public class ForkUtil {
|
||||
return new File(path).exists();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user