예제 #1
0
        static void Main(string[] args)
        {
            AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
            var    bufferSize  = 1024 * 67 + 128;
            Stream inputStream = Console.OpenStandardInput(bufferSize);

            Console.SetIn(new StreamReader(inputStream, Console.InputEncoding, false, bufferSize));
            var shellService = new ShellService();

            shellService.Run(args);
        }