static PlatformSupport()
{
switch (Platform.PlatformIdentifier)
{
case PlatformID.Win32Windows:
case PlatformID.Win32NT:
executorType = ShellExecutorType.Windows;
break;
case PlatformID.MacOSX:
case PlatformID.Unix:
executorType = ShellExecutorType.Unix;
break;
}
}