mirror of
https://github.com/ShareX/ShareX.git
synced 2024-06-16 11:04:39 +12:00
fixed #6690: Use temp path
This commit is contained in:
parent
300274960b
commit
d491b1fc8a
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue