Exemplo n.º 1
0
        static PlatformSupport()
        {
            switch (Platform.PlatformIdentifier)
            {
            case Platforms.PlatformID.Win32NT:
                executorType = ShellExecutorType.Windows;
                break;

            case Platforms.PlatformID.Unix:
            case Platforms.PlatformID.MacOSX:
                executorType = ShellExecutorType.Unix;
                break;
            }
        }
Exemplo n.º 2
0
        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;
            }
        }