代码如下 p.StartInfo = new System.Diagnostics.ProcessStartInfo(path, pwd); p.Start();其中path是个BAT的路径!我想要得到执行后的返回值来判断批处理运行期间是否错误?请问如何做呢?批处理程序内容如下:@echo offfor /f "delims=" %%a in (PCList.config) do net use \\%%a\ipc$ /deletefor /f "delims="
一.测试数据准备 List<Map<String, String>> result = new ArrayList();Map<String, String> map = new HashMap<>();map.put("san", "张三");map.put("si", "李四");map.put("wu", "王五");map.put(