using InnovEnergy.SysTools.Process; namespace InnovEnergy.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); } }