","path/XXX.sql"}); processbuilder 对象在linux系统中不能识别“>” 会把它当成表名 mysqldump: Couldn't find table: ""/> ","path/XXX.sql"}); processbuilder 对象在linux系统中不能识别“>” 会把它当成表名 mysqldump: Couldn't find table: "">

首页  >  文章  >  数据库  >  mysql-processbuilder 在linux符号识别问题

mysql-processbuilder 在linux符号识别问题

WBOY
WBOY原创
2016-06-06 09:42:041088浏览

mysqljavalinux

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

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

怎样才能让linux识别">"

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn