private static ProcessStartInfo GetProcessStartInfo() { return(new ProcessStartInfo { FileName = ConverterExecutable.Get().FullConverterExecutableFilename, RedirectStandardInput = true, RedirectStandardOutput = true, RedirectStandardError = true, UseShellExecute = false, CreateNoWindow = true }); }
private static ProcessStartInfo GetProcessStartInfo() { return(new ProcessStartInfo { FileName = ConverterExecutable.Get().FullConverterExecutableFilename, RedirectStandardInput = true, RedirectStandardOutput = true, RedirectStandardError = true, UseShellExecute = false, CreateNoWindow = true, Arguments = TemporaryPdf.TempFilesPath == null ? null : $"\"-TEMPDIR={TemporaryPdf.TempFilesPath}\"" }); }