fixed #6690: Use temp path

This commit is contained in:
Jaex 2023-01-21 09:40:08 +03:00
parent 300274960b
commit d491b1fc8a

View file

@ -513,7 +513,7 @@ private void btnTest_Click(object sender, EventArgs e)
ProcessStartInfo psi = new ProcessStartInfo()
{
FileName = "cmd.exe",
WorkingDirectory = Path.GetDirectoryName(Options.FFmpeg.FFmpegPath),
WorkingDirectory = Path.GetTempPath(),
Arguments = $"/k {Path.GetFileName(Options.FFmpeg.FFmpegPath)} {Options.GetFFmpegCommands()}",
UseShellExecute = true
};