Process类详解

版权声明:如若转载,请联系作者。 https://blog.csdn.net/liu16659/article/details/83147173

Process类详解

The ProcessBuilder#start() and Runtime#exec(String[],String[],File)
methods create a native process and return an instance of a subclass of Process 
that can be used to control the process and obtain information about it. 
ProcessBuilder的start()方法,Runtime的exec(String[],String[],File)方法都会穿件一个本地的进程
以及返回一个Process子类的实例,这个实例可以用于控制进程以及包含进程的自身信息。

猜你喜欢

转载自blog.csdn.net/liu16659/article/details/83147173
今日推荐