without using a redirect to file (">", ">>")
Process p = Runtime.getRuntime().exec("executable.exec"); BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream())); String line; while ((line = input.readLine()) != null) { System.out.println(line); }
1.4m articles
1.4m replys
5 comments
56.9k users