code: private static BufferedReader createReader( Process process )
      {
          InputStream inputStream = process.getInputStream();
          InputStreamReader in = new InputStreamReader( inputStream );
          BufferedReader reader = new BufferedReader( in );
          return reader;
      }
docs: Creates a Reader instance for the process output.
  
  @param process The process to attach the reader to.
  
  @return A Reader attached to the process.