C#启动process子进程
无弹窗
代码语言:javascript复制 ProcessStartInfo startInfo = new ProcessStartInfo("ffmpeg", "-f image2 -i " fileMatch " " outputFile);
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.CreateNoWindow = true;
startInfo.UseShellExecute = false;
Process p = Process.Start(startInfo);
console程序改设置为windows
改为windows程序