python exe window

438
2
12-28-2011 05:33 AM
RobertEhrman
New Contributor III
I'm calling a subprocess from a py script that loops through several feature classes.  Every time the subprocess processes each feature class the python exe window pops up.  Is there a way to not have this window pop up?

ArcGIS 9.3.1

Thanks
Tags (2)
0 Kudos
2 Replies
Luke_Pinner
MVP Regular Contributor
Replace python.exe with pythonw.exe in your subprocess call. Pythonw is a non-console version of the python executable.
0 Kudos
RobertEhrman
New Contributor III
Replace python.exe with pythonw.exe in your subprocess call. Pythonw is a non-console version of the python executable.


Greatly appreciated, I'll give this a shot.
0 Kudos