📅  最后修改于: 2022-03-11 14:52:36.988000             🧑  作者: Mango
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));