Java cómo emitir a un ejecutable

Process process = new ProcessBuilder("D:\\path\\executable.exe").start();

InputStream processInputStream = process.geInputStream();
OutputSteam processOutputStream = process.getOutputStream();

BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(processOutputStream));

BufferedReader reader = new BufferedReader(new InputStreamReader(processInputStream));
Black Batfish