Answers for "java executable"

2

java how to output to a executable

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));
Posted by: Guest on December-23-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language