【发布时间】:2017-08-13 05:50:30
【问题描述】:
如果我们使用 Runtime.exec 创建一个新的子进程:
Process exec(String command) Executes the specified string command in a separate process.
如何获取创建的进程的值?
【问题讨论】:
-
在链接中:stackoverflow.com/questions/4750470/…,你可以得到:Java 9 类 Process 有新方法 long getPid()
标签: java subprocess