I am launching an exe via process.start() and doing some importing an exporting of geometry via RhinoApp.RunScript() all within a C# scripting component in Grasshopper.
This all works fine under normal circumstances, however when I introduce something like Galapagos I run into problems with objects expiring warnings etc. And when everything stops working it seems to be my scripting component that breaks, as it doesn’t output the required data.
I actually think it may be the RunScript import instead of the process.start but something isn’t working right. Could there possibly be problems with Rhino not waiting for RunScript to complete before executing the rest of the script? But why would this only happen during the Galapagos run? Strange!
Thank you in advance.