您的当前位置:首页正文

mysql-processbuilder在linux符号识别问题

2020-11-09 来源:年旅网

mysqljavalinux

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

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

怎样才能让linux识别">"

显示全文