(Windows) Finding out which process has locked a file.
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Thu May 14 07:42:07 EDT 2009
In message <787d6072-3381-40bd-
af20-8e1a40405033 at h23g2000vbc.googlegroups.com>, CinnamonDonkey wrote:
> I have a script running which occa[s]ionally fails because it is trying
> to delete a file in use by another process. When this happens I want
> it to log which process has the lock.
Maybe there is no such process. Maybe it's just the Dimdows filesystem
randomly returning a failure on its own. How would you know?
More information about the Python-list
mailing list