mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 20:13:52 +08:00
#18349: Increasing input size for orchard.exe
Work Item: 18349 --HG-- branch : 1.x
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
namespace Orchard {
|
||||
public class Program {
|
||||
const int ConsoleInputBufferSize = 8192;
|
||||
|
||||
public static int Main(string[] args) {
|
||||
Console.SetIn(new StreamReader(Console.OpenStandardInput(ConsoleInputBufferSize)));
|
||||
return (int)new OrchardHost(Console.In, Console.Out, args).Run();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user