此类用于创建操作系统进程,它提供一种启动和管理进程(也就是应用程序)的方法
比如用记事本,打开文件argument.txt
try
{
ProcessBuilder procB = new ProcessBuilder("notepad.exe", "argument.txt");
procB start();
}
catch (Exception e)
{
System.out.println("Error executing notepad.");
}