java调用批处理后关闭窗口
调用
String cmd4 = ("cmd /c start ffmpegc.bat 参数 参数 参数...");
try {
  Runtime.getRuntime().exec(cmd4);
} catch (IOException e) {
       e.printStackTrace();
批处理文件内容
ffmpeg 参数 参数 参数....
exit
加个exit就可以在运行后退出了
调用
String cmd4 = ("cmd /c start ffmpegc.bat 参数 参数 参数...");
try {
  Runtime.getRuntime().exec(cmd4);
} catch (IOException e) {
       e.printStackTrace();
批处理文件内容
ffmpeg 参数 参数 参数....
exit
加个exit就可以在运行后退出了
