static void Main(string[] args)
        {
            Interactive.Initialize();
            Interactive.OnStopped += new Interactive.StopedDelegate(OnStopped);
            Interactive.Title      = Path.GetFileNameWithoutExtension(
                Assembly.GetExecutingAssembly().Location);

            if (args.Length == 0)
            {
                Interactive.Run(RunProc);
            }
            else if (args[0] == "-svc")
            {
                ServiceBase.Run(new Service());
            }
        }