code: public static String[] run(final String[] cmdline) {
      final CaptureStreamHandler handler = execute(cmdline);
      return handler.getOutput() != null ? handler.getOutput() : new String[0];
    }
docs: Runs an executable and captures the output in a String array
  
  @param cmdline
  command line arguments
  @return output of process
  @see CaptureStreamHandler#getOutput()