private static BufferedReader createReader ( Process process ) { InputStream inputStream = process . getInputStream ( ) ; InputStreamReader in = new InputStreamReader ( inputStream ) ; BufferedReader reader = new BufferedReader ( in ) ; return reader ; }
Creates a Reader instance for the process output .