X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test%2Fjalview%2Fbin%2FCommandLineOperations.java;fp=test%2Fjalview%2Fbin%2FCommandLineOperations.java;h=3855dc70192cea743d9320a9919ab24fd3786a29;hb=ca9a7a8387cb17ea0a4511d1ce3c4c0c45e50db4;hp=77cbd9235eaf133ef3049437953a6507d18ad774;hpb=a2f16af6d565a7535083ff87da9be198b31d95c0;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 {