mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-06 05:05:42 +13:00
Running ffmpeg test in cmd.exe so it won't close automatically
This commit is contained in:
parent
b9af679c30
commit
c21bb43e6b
1 changed files with 2 additions and 2 deletions
|
@ -192,8 +192,8 @@ private void btnTest_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
using (Process process = new Process())
|
using (Process process = new Process())
|
||||||
{
|
{
|
||||||
ProcessStartInfo psi = new ProcessStartInfo(Options.FFmpeg.CLIPath);
|
ProcessStartInfo psi = new ProcessStartInfo("cmd.exe");
|
||||||
psi.Arguments = Options.GetFFmpegArgs();
|
psi.Arguments = "/k ffmpeg " + Options.GetFFmpegArgs();
|
||||||
psi.WorkingDirectory = Path.GetDirectoryName(Options.FFmpeg.CLIPath);
|
psi.WorkingDirectory = Path.GetDirectoryName(Options.FFmpeg.CLIPath);
|
||||||
|
|
||||||
process.StartInfo = psi;
|
process.StartInfo = psi;
|
||||||
|
|
Loading…
Reference in a new issue