mirror of https://github.com/lidarr/Lidarr
Fixed: Don't show cmd.exe window when fpcalc runs
This commit is contained in:
parent
b52538c54f
commit
ace83498cd
|
@ -89,6 +89,7 @@ namespace NzbDrone.Core.Parser
|
|||
p.StartInfo.FileName = path;
|
||||
p.StartInfo.Arguments = "-version";
|
||||
p.StartInfo.UseShellExecute = false;
|
||||
p.StartInfo.CreateNoWindow = true;
|
||||
p.StartInfo.RedirectStandardOutput = true;
|
||||
|
||||
try
|
||||
|
@ -135,6 +136,7 @@ namespace NzbDrone.Core.Parser
|
|||
p.StartInfo.FileName = _fpcalcPath;
|
||||
p.StartInfo.Arguments = $"-version";
|
||||
p.StartInfo.UseShellExecute = false;
|
||||
p.StartInfo.CreateNoWindow = true;
|
||||
p.StartInfo.RedirectStandardOutput = true;
|
||||
|
||||
p.Start();
|
||||
|
@ -238,6 +240,7 @@ namespace NzbDrone.Core.Parser
|
|||
p.StartInfo.FileName = _fpcalcPath;
|
||||
p.StartInfo.Arguments = $"{_fpcalcArgs} \"{file}\"";
|
||||
p.StartInfo.UseShellExecute = false;
|
||||
p.StartInfo.CreateNoWindow = true;
|
||||
p.StartInfo.RedirectStandardOutput = true;
|
||||
p.StartInfo.RedirectStandardError = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue