当前位置:Gxlcms > mysql > mysql-processbuilder在linux符号识别问题

mysql-processbuilder在linux符号识别问题

时间:2021-07-01 10:21:17 帮助过:35人阅读

mysqljavalinux

ProcessBuilder exp = new ProcessBuilder(new String[] {"mysqldump","db_name","table_name",">","path/XXX.sql"});

processbuilder 对象在linux系统中不能识别“>” 会把它当成表名
mysqldump: Couldn't find table: ">"

怎样才能让linux识别">"

人气教程排行