2024-11-13 18:18:28 +08:00

23 lines
593 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace FreeSql.Generator
{
public class Program
{
static void Main(string[] args)
{
if (args != null && args.Length == 0) args = new[] { "?" };
ManualResetEvent wait = new ManualResetEvent(false);
new Thread(() => {
Thread.CurrentThread.Join(TimeSpan.FromSeconds(1));
ConsoleApp app = new ConsoleApp(args, wait);
}).Start();
wait.WaitOne();
return;
}
}
}