public static void Main(string[] args) { var eng = new Engine(); eng.Start(); Process.Start("http://localhost:9999/index.html"); eng.WaitForExit(); Console.WriteLine("Finished!"); }