Re: Exiting os.spawnv's subroutine

2006-02-22 Thread IamIan
Strange but removing the try/except part of the second script (leaving only the processing) removed the 2 minute lag at the end of each subroutine. -- http://mail.python.org/mailman/listinfo/python-list

Re: Exiting os.spawnv's subroutine

2006-02-21 Thread IamIan
My code is below. As a single script there is no pause at the end of the processing as there is with using os.spawnv... I am using the P_WAIT value, and wonder if it is responsible for the extra time at the end of each iteration. Could it take longer for the processing to be "successful" when run u

Re: Exiting os.spawnv's subroutine

2006-02-17 Thread Donn Cave
In article <[EMAIL PROTECTED]>, "IamIan" <[EMAIL PROTECTED]> wrote: > I am using os.spawnv in Python 2.1 to do some geoprocessing in a > subroutine/process. Everything works great, except when the processing > is done the subroutine just waits for a couple minutes before closing > itself and retu

Exiting os.spawnv's subroutine

2006-02-17 Thread IamIan
I am using os.spawnv in Python 2.1 to do some geoprocessing in a subroutine/process. Everything works great, except when the processing is done the subroutine just waits for a couple minutes before closing itself and returning to the main script. I have tried using sys.exit() and exit() but these a