Changeset 18040 for branches/3026_IntegrationIntoSymSpace/HeuristicLab
- Timestamp:
- 08/04/21 17:19:05 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab/3.3/Program.cs
r18035 r18040 21 21 22 22 using System; 23 using System.IO; 24 using System.Reflection; 23 25 24 26 namespace HeuristicLab { … … 27 29 static void Main(string[] args) { 28 30 if ((args.Length >= 1) && (args[0] == "/start:JsonInterface")) { 29 HeuristicLab.PluginInfrastructure.Main.HeadlessRun(args); 31 try { 32 HeuristicLab.PluginInfrastructure.Main.HeadlessRun(args); 33 } catch (Exception e) { 34 File.WriteAllText(@"C:\Users\David\Desktop\GP_JsonInterface_Example\log.txt", e.Message); 35 } 36 File.WriteAllText(@"C:\Users\David\Desktop\GP_JsonInterface_Example\done.txt", Path.GetDirectoryName(Assembly.GetEntryAssembly().Location)); 30 37 } else { 31 38 HeuristicLab.PluginInfrastructure.Main.Run(args);
Note: See TracChangeset
for help on using the changeset viewer.