Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
Merge remote-tracking branch 'origin/main' into HEAD
KnifeLemon580b76ad70e7
diff --cc src/Filee.Engines/Infrastructure/ProcessRunner.csindex 8861783b,7981e039..f991d2ca--- a/src/Filee.Engines/Infrastructure/ProcessRunner.cs+++ b/src/Filee.Engines/Infrastructure/ProcessRunner.cs@@@ -95,10 -75,22 +96,26 @@@ public static class ProcessRunnereturn new ProcessResult(process.ExitCode, stdout.ToString(), stderr.ToString());}+ /// <summary>"10 min", or "30 s" below a minute.</summary>+ internal static string Describe(TimeSpan limit) =>+ limit >= TimeSpan.FromMinutes(1) ? $"{limit.TotalMinutes:0} min" : $"{limit.TotalSeconds:0} s";++ /// <summary>+ /// Below normal priority, so a long conversion on every core leaves room for the desktop and Filee's own input+ /// hook (#511); on an idle machine it is as fast. Programs it starts inherit it. A process that is already gone+ /// or not ours to change stays as it is.+ /// </summary>+ internal static void Lower(Process process)+ {+ try+ {+ process.PriorityClass = ProcessPriorityClass.BelowNormal;+ }+ catch (Exception ex) when (ex is InvalidOperationException or System.ComponentModel.Win32Exception or NotSupportedException)+ {+ }+ }+private static void TryKill(Process process){try