static void run(string localConfig, string path, IStartupHandler handler) { if (localConfig != null) { var parser = new PathParser(localConfig); if (Directory.Exists(Path.Combine(path, localConfig))) { localConfig = parser.ToAbsolute(path); } } Logger.SetListener(new FileLogger()); Client = new ATEClient(); Client.Start(new StartupParams(path, localConfig), handler); }