/* Main.cs $ This file is part of the HandBrake source code. Homepage: . It may be used under the terms of the GNU General Public License. */ namespace HandBrake.ApplicationServices.Functions { using System.Diagnostics; /// /// Useful functions which various screens can use. /// public static class Main { /// /// Get the Process ID of HandBrakeCLI for the current instance. /// /// A list of processes public static Process[] GetCliProcess() { return Process.GetProcessesByName("HandBrakeCLI"); } } }