AnsweredAssumed Answered

console app using GeoProcessor managed assembly won't exit

Question asked by tedrakel on Jun 12, 2013
Latest reply on Nov 22, 2016 by axlrnish
I have a windows console application written in c# that uses a geoprocessor managed assembly.  An example of how to do this is at 
I find that in the Visual Studio 2010, the console app runs to completion and exits.  If I run the console application on a command line on the same machine, the console application will not exit.  I've narrowed it down to calling GP.Execute. If this doesn't get called, then the application exits as expected when run on a command line.  I even put in code to call Process.Kill in order to terminate the process when it's done and this does not work.  I have to kil it using task manager.

Is there something not documented at that I need to do with the GeoProcessor object in order to allow the process to terminate? 

I know it's easier to see the code, so I'm working on putting together a very small console app that demonstrates this behavior so I can post the code for everyone to see.