我在执行以下代码时遇到问题:
Process pr = rt.exec("mysql -uroot -pcdac123 -e \""
+ "use rrrlfdev;load data local infile '"
+ fpath
+ "' into table t_adm_despatch fields terminated by ',' enclosed by '\\\"' lines terminated by '\\n' (dispatchno,dispatchdate,dispatchName, dispatchAddress, fileNo)"
+ "\"");
同样在Windows上运行良好。