using InnovEnergy.Lib.SysTools.Process; namespace InnovEnergy.Lib.SysTools.Edges; public static class SysPathToProcess { public static ProcessResult ExecuteBlocking(this SysPath command, Dictionary variables = null, Boolean logToConsole = false) { return SysCommandToProcess.ExecuteBlocking(command, variables, logToConsole); } public static AsyncProcess ToAsyncProcess(this SysPath command, Dictionary variables = null, Boolean logToConsole = false) { return new AsyncProcess(command, variables, logToConsole); } public static SyncProcess ToSyncProcess(this SysPath command, Dictionary variables = null, Boolean logToConsole = false) { return new SyncProcess(command, variables, logToConsole); } }