Windows process ownership trouble

geoffbache geoff.bache at jeppesen.com
Thu Jun 26 11:52:58 EDT 2008


Tim,

Unfortunately my previous message was premature, it seems your
workaround doesn't work
either on my system (Windows XP, Python 2.5.1) I get the following
printed out

Traceback (most recent call last):
  File "C:\TextTest\processown.py", line 12, in <module>
    os.remove ("filename")
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process: 'filename'
close failed: [Errno 9] Bad file descriptor

Any ideas?

Geoff



More information about the Python-list mailing list