@Test public void testRunLocalCommand() throws CommandLineException { String result = CommandLine.run("date"); Calendar cal = Calendar.getInstance(); int today = cal.get(Calendar.DAY_OF_MONTH); assertTrue(result.contains(Integer.toString(today))); }
public static String run(String command) throws CommandLineException { return run(command, false); }
CommandLine { public static String run(String command) throws CommandLineException { return run(command, false); } }
CommandLine { public static String run(String command) throws CommandLineException { return run(command, false); }  }
CommandLine { public static String run(String command) throws CommandLineException { return run(command, false); }  static String run(String command); static String run(String command, boolean verbose); static String run(String command, String workingDirectory); static String run(String command, String workingDirectory, boolean verbose); }
CommandLine { public static String run(String command) throws CommandLineException { return run(command, false); }  static String run(String command); static String run(String command, boolean verbose); static String run(String command, String workingDirectory); static String run(String command, String workingDirectory, boolean verbose);  }