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.
精彩评论