- // Note: JAL-3065 - don't include quotes for lib/* because the arguments are
- // not expanded by the shell
- String classpath = getClassPath();
- String _cmd = java_exe + " "
- + (withAwt ? "-Djava.awt.headless=true" : "") + " -classpath "
- + classpath + " jalview.bin.Jalview ";
- Process ls2_proc = null;
- Worker worker = null;
- try
+ String[] args = cmdLine.split("\\s+");
+ Jalview.main(args);
+ Commands cmds = Jalview.getInstance().getCommands();
+ Assert.assertNotNull(cmds);
+ Assert.assertTrue(cmds.commandArgsProvided(),
+ "Commands were not provided in the args");
+ Assert.assertTrue(cmds.argsWereParsed(),
+ "Overall command parse and operation is false");
+
+ if (sequence != null)