我可以使用线程而不是进程
执行以下任务 Process p = Runtime.getRuntime().exec("C:\\Program Files\\Eltima Software\\"
+ "USB to Ethernet Connector\\UsbService64.exe find-remote-devices " + machineName);
BufferedReader in = new BufferedReader(
new InputStreamReader(p.getInputStream()));