Home  >  Q&A  >  body text

How to use Java exec to execute a command with redirection on a windows machine.

c:/coolroid/gicater/mysqldump.exe -h127.0.0.1 -uroot -pxxx -P3308 xxxx 
> C:/jukebackup/coolroid_1498793488965.bak

How to use java's exec execution, the discovery file with redirection is not generated.

伊谢尔伦伊谢尔伦2664 days ago888

reply all(1)I'll reply

  • 滿天的星座

    滿天的星座2017-07-03 11:45:37

    Refer here:/q/10...

    reply
    0
  • Cancelreply