X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fbin%2FCommandLineOperations.java;fp=test%2Fjalview%2Fbin%2FCommandLineOperations.java;h=3855dc70192cea743d9320a9919ab24fd3786a29;hb=aabbea350930b8c2904e4f1544f0d786e7d59792;hp=77cbd9235eaf133ef3049437953a6507d18ad774;hpb=546cce1523d08c53ffdc744d46907cf8c98bdc10;p=jalview.git diff --git a/test/jalview/bin/CommandLineOperations.java b/test/jalview/bin/CommandLineOperations.java index 77cbd92..3855dc7 100644 --- a/test/jalview/bin/CommandLineOperations.java +++ b/test/jalview/bin/CommandLineOperations.java @@ -71,7 +71,7 @@ public class CommandLineOperations * @author jimp * */ - private static class Worker extends Thread + public static class Worker extends Thread { private final Process process; @@ -156,7 +156,7 @@ public class CommandLineOperations return classpath; } - private Worker getJalviewDesktopRunner(boolean withAwt, String cmd, + public static Worker getJalviewDesktopRunner(boolean withAwt, String cmd, int timeout) { // Note: JAL-3065 - don't include quotes for lib/* because the arguments are @@ -183,7 +183,7 @@ public class CommandLineOperations new InputStreamReader(ls2_proc.getInputStream())); BufferedReader errorReader = new BufferedReader( new InputStreamReader(ls2_proc.getErrorStream())); - worker = new Worker(ls2_proc); + worker = new CommandLineOperations.Worker(ls2_proc); worker.start(); try {