mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Minor change for process
This commit is contained in:
parent
99212564ff
commit
8382a5ad12
@ -118,7 +118,8 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
}
|
||||
parameters = string.Format(fFmpegWaveTranscodeSettings, inputVideoFile, outWaveFile, audioParameter);
|
||||
}
|
||||
return new Process { StartInfo = new ProcessStartInfo(exeFilePath, parameters) { WindowStyle = ProcessWindowStyle.Hidden } };
|
||||
|
||||
return new Process { StartInfo = new ProcessStartInfo(exeFilePath, parameters) { WindowStyle = ProcessWindowStyle.Hidden, CreateNoWindow = true } };
|
||||
}
|
||||
|
||||
private void buttonRipWave_Click(object sender, EventArgs e)
|
||||
|
@ -70,7 +70,8 @@ namespace Nikse.SubtitleEdit.Logic.Ocr.Tesseract
|
||||
process.StartInfo = new ProcessStartInfo(dir + "tesseract.exe")
|
||||
{
|
||||
UseShellExecute = true,
|
||||
Arguments = "\"" + inputFileName + "\" \"" + outputFileName + "\" -l " + languageCode
|
||||
Arguments = "\"" + inputFileName + "\" \"" + outputFileName + "\" -l " + languageCode,
|
||||
CreateNoWindow = true,
|
||||
};
|
||||
|
||||
if (!string.IsNullOrEmpty(psmMode))
|
||||
|
@ -38,7 +38,8 @@ namespace Nikse.SubtitleEdit.Logic.Ocr.Tesseract
|
||||
{
|
||||
UseShellExecute = true,
|
||||
WindowStyle = ProcessWindowStyle.Hidden,
|
||||
Arguments = $@"""{imageFileName}"" ""{tempTextFileName}"" -l {languageCode}"
|
||||
Arguments = $@"""{imageFileName}"" ""{tempTextFileName}"" -l {languageCode}",
|
||||
CreateNoWindow = true,
|
||||
};
|
||||
|
||||
if (!string.IsNullOrEmpty(psmMode))
|
||||
|
Loading…
Reference in New Issue
Block a user