diff --git a/ScreenCaptureLib/Screencast/FFmpegOptionsForm.cs b/ScreenCaptureLib/Screencast/FFmpegOptionsForm.cs index c32927447..e4c8c09bd 100644 --- a/ScreenCaptureLib/Screencast/FFmpegOptionsForm.cs +++ b/ScreenCaptureLib/Screencast/FFmpegOptionsForm.cs @@ -192,8 +192,8 @@ private void btnTest_Click(object sender, EventArgs e) { using (Process process = new Process()) { - ProcessStartInfo psi = new ProcessStartInfo(Options.FFmpeg.CLIPath); - psi.Arguments = Options.GetFFmpegArgs(); + ProcessStartInfo psi = new ProcessStartInfo("cmd.exe"); + psi.Arguments = "/k ffmpeg " + Options.GetFFmpegArgs(); psi.WorkingDirectory = Path.GetDirectoryName(Options.FFmpeg.CLIPath); process.StartInfo = psi;