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

Home  >  Article  >  Database  >  mysql-processbuilder 在linux符号识别问题

mysql-processbuilder 在linux符号识别问题

WBOY
WBOYOriginal
2016-06-06 09:42:041088browse

mysqljavalinux

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

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

怎样才能让linux识别">"

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn