创建无弹窗程序

2022-05-06 15:31:31 浏览数 (1)

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程序

0 人点赞