AnsweredAssumed Answered

While using ArcGis Python toolbox I have a subprocess.popen.. how to stop command prompt screen from appearing while it runs?

Question asked by hackerp on Jul 8, 2016
Latest reply on Jul 12, 2016 by bixb0012

I run a batch at the end of the .pyt Python Toolbox script so to do most of the process (it runs a .bat file that runs a python script.)


Yes a Python script runs a bat runs a Python script.


But when using subprocess.Popen("C:/output/BatchRun.bat", shell=False)


The command prompt window opens and I guess stays open till the bat is finished. The .pyt goes ahead and ends.


How to get rid of the command prompt window from opening?