Can a Python script be executed from a .NET AddIn and also write its standard output and geoprocessor message to the ArcMap Python Window?
I have no problem call python scripts with Process.Start or GeoProcessorClass.Execute. But I have an existing AddIn (10.1) and I want to add a new button that will call the python script and have it behave the same way a right-click
Load... behaves in the ArcMap python window.
Is there a way to do this?
I'm currently using this procedure.
And it does run the script--I'm just after the same out to the python window.