Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java how to output to a executable

Process process = new ProcessBuilder("D:pathexecutable.exe").start();

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

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

BufferedReader reader = new BufferedReader(new InputStreamReader(processInputStream));
 
PREVIOUS NEXT
Tagged: #java #output #executable
ADD COMMENT
Topic
Name
7+1 =