code: public static int invokeProcess(String[] commandLine, Reader input) throws IOException, InterruptedException {
          return invokeProcess(commandLine, input, new NOPConsumer());
      }
docs: Runs the given set of command line arguments as a system process and returns the exit value of the spawned
  process. Additionally allows to supply an input stream to the invoked program. Discards any output of the
  process.
  
  @param commandLine
  the list of command line arguments to run
  @param input
  the input passed to the program
  
  @return the exit code of the process
  
  @throws IOException
  if an exception occurred while reading the process' outputs, or writing the process' inputs
  @throws InterruptedException
  if an exception occurred during process exception