I have a gp task that, through python (subprocess.popen), is trying to call a simple command line app that uses the .net api for arcobjects.
The command line app tries to bind to a license in the following order: Server, Enigne, Desktop
The python script runs fine locally, binding to my Desktop license, but when I ran it through the gp task, it fails to bind to any of the licenses.
I was expecting it to bind to the Server one as the gp task process would be running under that license, but it doesn't.
Are my expectations wrong? Or is there anything else that needs to be configured in the command line application?
We are using arcgis 10.2