标签: java batch-file process
在下面的代码中,
ProcessBuilder pb = ProcessBuilder("cmd.exe", "/C","java.bat"); Process p = pb.start();
当p.destroy()时,进程从java.bat开始运行。如何在java中终止此过程?