mirror of
https://github.com/ShareX/ShareX.git
synced 2024-06-24 01:00:27 +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()
|
ProcessStartInfo psi = new ProcessStartInfo()
|
||||||
{
|
{
|
||||||
FileName = "cmd.exe",
|
FileName = "cmd.exe",
|
||||||
WorkingDirectory = Path.GetDirectoryName(Options.FFmpeg.FFmpegPath),
|
WorkingDirectory = Path.GetTempPath(),
|
||||||
Arguments = $"/k {Path.GetFileName(Options.FFmpeg.FFmpegPath)} {Options.GetFFmpegCommands()}",
|
Arguments = $"/k {Path.GetFileName(Options.FFmpeg.FFmpegPath)} {Options.GetFFmpegCommands()}",
|
||||||
UseShellExecute = true
|
UseShellExecute = true
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue