Minor change (in sync with MK branch)
This commit is contained in:
parent
24e57f68ed
commit
45c6627862
@ -162,6 +162,14 @@ public class ExternalRuntimeProblem extends AbstractOptimizationProblem implemen
|
|||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static List<String> runProcess(String[] parameters, String workingDir) {
|
||||||
|
List<String> params = new ArrayList<String>(parameters.length);
|
||||||
|
for (String str : parameters) {
|
||||||
|
params.add(str);
|
||||||
|
}
|
||||||
|
return runProcess(params, workingDir);
|
||||||
|
}
|
||||||
|
|
||||||
public static List<String> runProcess(List<String> parameters, String workingDir) {
|
public static List<String> runProcess(List<String> parameters, String workingDir) {
|
||||||
Process process;
|
Process process;
|
||||||
ProcessBuilder pb;
|
ProcessBuilder pb;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user