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
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
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
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