开发者

Java ProcessBuilder running in specific directory

How can开发者_如何学运维 i start a process using processbuilder in a specific directory?

thanks!


Look into this method in the ProcessBuilder class.

directory(File directory)

This method sets the directory for the ProcessBuilder. The Javadoc can be found here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜