Tim Golden wrote:
geoffbache wrote:
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
[... snip purported solution using pywin32 ...]
.... or maybe I should just stop talking rubbish and go home
since that solution works even *without* the tweak to
subprocess.py.
TJG
--
http://mail.python.org/mailman/listinfo/python-list