laptop and a wrench

Bug

A subprocess call will not run when running a python script in ArcGIS Pro versus IDLE or any IDE.

Last Published: October 21, 2019 ArcGIS Pro
Bug ID Number BUG-000125028
SubmittedSeptember 5, 2019
Last ModifiedOctober 7, 2024
Applies toArcGIS Pro
Version found2.4
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

The problem in the tool is in the subprocess.run call. Pro Python 3.6 environment is mixing with the Python 2.7 subprocess's environment. This can be avoided entirely, simply by calling the 2.7 python.exe with Python's -E flag

Steps to Reproduce

Bug ID: BUG-000125028

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options