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 returning to the main script. I have tried using sys.exit()
> and exit() but these aren't doing anything.
> 
> What is the proper way to terminate this subroutine upon completion,
> rather than waiting? Thank you.

Your description is a little ambiguous, but my guess is your
process just isn't done when you think it is.   It's flushing
data to disk or something like that.  Or it could be something
else.  Why don't you write a sample program that works like
this, and demonstrates the problem, and then we'll know.

   Donn Cave, [EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to