Running other programs from Java

后端 未结 6 505
暖寄归人
暖寄归人 2020-12-21 15:51

I need to run a couple of other programs from my own Java program, basically I need to run these command line statements.

svn log --xml -v > svn.log
         


        
6条回答
  •  忘掉有多难
    2020-12-21 16:43

    Seeing your two commands, why don't you do it directly from Java, without executing ? You could use SVNKit for the svn part, and include directly the jars in your classpath.

提交回复
热议问题